]> git.wh0rd.org - tt-rss.git/blobdiff - include/functions.php
add plugin storage table to schema; add ability to clear plugin data
[tt-rss.git] / include / functions.php
index b382b4069fb3fb4ceca54122be8c094e28e0db44..89e767e2ce872f861836df406404bdcb9fbd7520 100644 (file)
@@ -1,6 +1,6 @@
 <?php
        define('EXPECTED_CONFIG_VERSION', 26);
-       define('SCHEMA_VERSION', 100);
+       define('SCHEMA_VERSION', 101);
 
        $fetch_last_error = false;
        $pluginhost = false;
                if (!SINGLE_USER_MODE) {
 
                        $user_id = false;
-                       /* $modules = explode(",", AUTH_MODULES);
-
-                       foreach ($modules as $module) {
-                               $module_class = "auth_$module";
-                               if (class_exists($module_class)) {
-                                       $authenticator = new $module_class($link);
-
-                                       $user_id = (int) $authenticator->authenticate($login, $password);
-
-                                       if ($user_id) {
-                                               $_SESSION["auth_module"] = $module;
-                                               break;
-                                       }
-
-                               } else {
-                                       print T_sprintf("Fatal: authentication module %s not found.", $module);
-                                       die;
-                               }
-                       } */
 
                        global $pluginhost;
                        foreach ($pluginhost->get_hooks($pluginhost::HOOK_AUTH_USER) as $plugin) {