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