diff options
Diffstat (limited to 'modules/rest/helpers')
| -rw-r--r-- | modules/rest/helpers/rest_event.php | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/modules/rest/helpers/rest_event.php b/modules/rest/helpers/rest_event.php index e4e53ef6..f23b9a58 100644 --- a/modules/rest/helpers/rest_event.php +++ b/modules/rest/helpers/rest_event.php @@ -29,6 +29,13 @@ class rest_event {         ->execute();    } + +  static function change_provider($new_provider) { +    db::build() +      ->delete("user_access_keys") +      ->execute(); +  } +    /**     * Called after a user has been added.  Just add a remote access key     * on every add. | 
