diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-06-07 23:13:49 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-06-07 23:13:49 -0700 |
commit | 9ec600fd459ab16008f6ced11e55778505b2a099 (patch) | |
tree | a76b7575619c1211ded0ae6915b58a49b8a9fcd8 /modules | |
parent | 6425d41eddd44091b2d83ba3c3734cc6990ca581 (diff) | |
parent | fef5cf9865962ce9fed583752c0671a0a5e090cf (diff) |
Merge branch 'master' of github.com:gallery/gallery3
Diffstat (limited to 'modules')
-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. |