Skip to content
Extraits de code Groupes Projets
Valider 6eb358f2 rédigé par robocoder's avatar robocoder
Parcourir les fichiers

rename these new hooks for consistency (camelCase)

git-svn-id: http://dev.piwik.org/svn/trunk@1419 59fd770c-687e-43c8-a1e3-f5a4ff64c105
parent acc533db
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -6,6 +6,7 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
* @version $Id$
*
* @category Piwik
* @package Piwik
*/
......@@ -215,7 +216,7 @@ class Piwik_FrontController
// creating the access object, so that core/Updates/* can enforce Super User and use some APIs
Piwik::createAccessObject();
Piwik_PostEvent('FrontController.DispatchCoreAndPluginUpdatesScreen');
Piwik_PostEvent('FrontController.dispatchCoreAndPluginUpdatesScreen');
Piwik_PluginsManager::getInstance()->installLoadedPlugins();
Piwik::install();
......@@ -237,7 +238,7 @@ class Piwik_FrontController
$pluginsManager->setLanguageToLoad( Piwik_Translate::getInstance()->getLanguageToLoad() );
$pluginsManager->postLoadPlugins();
Piwik_PostEvent('FrontController.CheckForUpdates');
Piwik_PostEvent('FrontController.checkForUpdates');
} catch(Exception $e) {
Piwik_ExitWithMessage($e->getMessage(), $e->getTraceAsString(), true);
}
......
......@@ -25,8 +25,8 @@ class Piwik_CoreUpdater extends Piwik_Plugin
function getListHooksRegistered()
{
$hooks = array(
'FrontController.DispatchCoreAndPluginUpdatesScreen' => 'dispatch',
'FrontController.CheckForUpdates' => 'updateCheck',
'FrontController.dispatchCoreAndPluginUpdatesScreen' => 'dispatch',
'FrontController.checkForUpdates' => 'updateCheck',
);
return $hooks;
}
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter