Upgradescripte für auth.* nur ausführen, wenn Authentifizierungstabellen bereits...
authorMoritz Bunkus <m.bunkus@linet-services.de>
Mon, 3 Jan 2011 15:15:10 +0000 (16:15 +0100)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Mon, 3 Jan 2011 15:15:10 +0000 (16:15 +0100)
bin/mozilla/admin.pl

index 7bb498c..3258a31 100755 (executable)
@@ -84,10 +84,9 @@ sub run {
       if ($auth->session_tables_present()) {
         $::auth->set_session_value('rpw', $::form->{rpw});
         $::auth->create_or_refresh_session();
+        _apply_dbupgrade_scripts();
       }
 
-      _apply_dbupgrade_scripts();
-
       call_sub($locale->findsub($form->{action}));
     }
   } else {