setup too: new function "Clear cache and register hooks", also called automatic when restoring a backup

This commit is contained in:
Ralf Becker 2012-10-31 17:17:28 +00:00
parent 06bc5ea552
commit 3625cfb855
4 changed files with 7 additions and 5 deletions

View File

@ -232,6 +232,8 @@ else
if(@get_var('hooks', Array('GET'))) if(@get_var('hooks', Array('GET')))
{ {
egw_cache::flush(egw_cache::INSTANCE);
// Find & register all application hooks // Find & register all application hooks
foreach($setup_info as $appname => $info) foreach($setup_info as $appname => $info)
{ {

View File

@ -135,7 +135,7 @@ class setup_html
{ {
$btn_logout = '<a href="index.php?FormLogout=' . $logoutfrom . '" class="link">' . lang('Logout').'</a>'; $btn_logout = '<a href="index.php?FormLogout=' . $logoutfrom . '" class="link">' . lang('Logout').'</a>';
$check_install = '<a class="textsidebox" href="check_install.php">'.lang('Check installation').'</a>'; $check_install = '<a class="textsidebox" href="check_install.php">'.lang('Check installation').'</a>';
$register_hooks = '<a class="textsidebox" href="applications.php?hooks=1">'.lang('Find and Register all Application Hooks').'</a>'; $register_hooks = '<a class="textsidebox" href="applications.php?hooks=1">'.lang('Clear cache and register hooks').'</a>';
} }
$GLOBALS['setup_tpl']->set_var('lang_setup', lang('setup')); $GLOBALS['setup_tpl']->set_var('lang_setup', lang('setup'));

View File

@ -151,6 +151,7 @@ checking php.ini setup de Überprüfe die php.ini Datei
checking required php version %1 (recommended %2) setup de Überprüfe benötigte PHP Version %1 (empfohlen %2) checking required php version %1 (recommended %2) setup de Überprüfe benötigte PHP Version %1 (empfohlen %2)
checking the egroupware installation setup de Überprüfe die EGroupware-Installation checking the egroupware installation setup de Überprüfe die EGroupware-Installation
checks egroupware's installed, it's versions and necessary upgrads (return values see --exit-codes) setup de Überprüft ob EGroupware installiert ist, die Version und notwendige Aktualisierungen (Rückgabewerte siehe --exit-codes) checks egroupware's installed, it's versions and necessary upgrads (return values see --exit-codes) setup de Überprüft ob EGroupware installiert ist, die Version und notwendige Aktualisierungen (Rückgabewerte siehe --exit-codes)
clear cache and register hooks setup de Cache löschen und Hooks registrieren
click <a href="index.php">here</a> to return to setup. setup de <a href="index.php">Hier klicken</a> um zu Setup zurück zu kehren. click <a href="index.php">here</a> to return to setup. setup de <a href="index.php">Hier klicken</a> um zu Setup zurück zu kehren.
click here setup de Hier klicken click here setup de Hier klicken
click here to re-run the installation tests setup de zum Wiederholen der Installationstests hier klicken click here to re-run the installation tests setup de zum Wiederholen der Installationstests hier klicken
@ -294,7 +295,6 @@ file uploads are switched off: you can not use any of the filemanagers, nor can
filename setup de Dateiname filename setup de Dateiname
filesystem setup de Dateisystem filesystem setup de Dateisystem
filesystem (default) setup de Dateisystem (Vorgabe) filesystem (default) setup de Dateisystem (Vorgabe)
find and register all application hooks setup de Suchen und registrieren der "Hooks" aller Anwendungen
force selectbox setup de Auswahl erzwingen force selectbox setup de Auswahl erzwingen
give admin access to all installed apps setup de Admin Zugang zu allen installierten Anwendungen geben give admin access to all installed apps setup de Admin Zugang zu allen installierten Anwendungen geben
gives further options setup de gibt zusätzliche Optionen gives further options setup de gibt zusätzliche Optionen

View File

@ -151,6 +151,7 @@ checking php.ini setup en Checking php.ini
checking required php version %1 (recommended %2) setup en Checking required PHP version %1 (recommended %2) checking required php version %1 (recommended %2) setup en Checking required PHP version %1 (recommended %2)
checking the egroupware installation setup en Checking the eGroupWare Installation checking the egroupware installation setup en Checking the eGroupWare Installation
checks egroupware's installed, it's versions and necessary upgrads (return values see --exit-codes) setup en Checks EGroupware, it's versions and necessary upgrades (return values see --exit-codes) checks egroupware's installed, it's versions and necessary upgrads (return values see --exit-codes) setup en Checks EGroupware, it's versions and necessary upgrades (return values see --exit-codes)
clear cache and register hooks setup en Clear cache and register hooks
click <a href="index.php">here</a> to return to setup. setup en Click <a href="index.php">here</a> to return to setup. click <a href="index.php">here</a> to return to setup. setup en Click <a href="index.php">here</a> to return to setup.
click here setup en Click here click here setup en Click here
click here to re-run the installation tests setup en Click here to re-run the installation tests click here to re-run the installation tests setup en Click here to re-run the installation tests
@ -294,7 +295,6 @@ file uploads are switched off: you can not use any of the filemanagers, nor can
filename setup en File name filename setup en File name
filesystem setup en File system filesystem setup en File system
filesystem (default) setup en File system (default) filesystem (default) setup en File system (default)
find and register all application hooks setup en Find and register all application hooks
force selectbox setup en Force select box force selectbox setup en Force select box
give admin access to all installed apps setup en Give admin access to all installed apps give admin access to all installed apps setup en Give admin access to all installed apps
gives further options setup en Gives further options gives further options setup en Gives further options