summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-06-07 07:18:20 -0700
committerTim Almdal <tnalmdal@shaw.ca>2010-06-07 07:18:20 -0700
commit32241cd14321f4fe24d689c86fbf74c45c71a53c (patch)
tree47a4b9965a43c1bb5e518bf4983195beedfdcc15 /modules
parentaf240a34982c07dd2d3caa79c67222cfbb8e4f4a (diff)
parentfef5cf9865962ce9fed583752c0671a0a5e090cf (diff)
Merge branch 'master' into talmdal_dev
Diffstat (limited to 'modules')
-rw-r--r--modules/rest/helpers/rest_event.php7
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.