aboutsummaryrefslogtreecommitdiff
path: root/mod/openid_client/upgrade.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/openid_client/upgrade.php')
-rw-r--r--mod/openid_client/upgrade.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/mod/openid_client/upgrade.php b/mod/openid_client/upgrade.php
new file mode 100644
index 000000000..37248d484
--- /dev/null
+++ b/mod/openid_client/upgrade.php
@@ -0,0 +1,12 @@
+<?php
+require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+
+admin_gatekeeper();
+set_time_limit(0);
+
+echo "upgrade microthemes";
+$previous_access = elgg_set_ignore_access(true);
+openid_client_run_upgrades();
+elgg_set_ignore_access($previous_access);
+
+echo "DONE";