From 6c3b456216cb7990f7bb35fdd3bfa6c29aeebdf8 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Fri, 29 Feb 2008 13:00:22 +0000 Subject: [PATCH] renaming the admin_prefs_sidebox_hooks because of a naming convention clash with the admin applications admin_prefs_sidebox_hooks --- ....inc.php => class.infolog_prefs_sidebox_hooks.inc.php} | 2 +- infolog/setup/setup.inc.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) rename infolog/inc/{class.admin_prefs_sidebox_hooks.inc.php => class.infolog_prefs_sidebox_hooks.inc.php} (99%) diff --git a/infolog/inc/class.admin_prefs_sidebox_hooks.inc.php b/infolog/inc/class.infolog_prefs_sidebox_hooks.inc.php similarity index 99% rename from infolog/inc/class.admin_prefs_sidebox_hooks.inc.php rename to infolog/inc/class.infolog_prefs_sidebox_hooks.inc.php index 7f007d557b..a544a6eadc 100644 --- a/infolog/inc/class.admin_prefs_sidebox_hooks.inc.php +++ b/infolog/inc/class.infolog_prefs_sidebox_hooks.inc.php @@ -13,7 +13,7 @@ /** * Class containing admin, preferences and sidebox-menus (used as hooks) */ -class admin_prefs_sidebox_hooks +class infolog_prefs_sidebox_hooks { function all_hooks($args) { diff --git a/infolog/setup/setup.inc.php b/infolog/setup/setup.inc.php index b60bce382a..62efef9f9a 100755 --- a/infolog/setup/setup.inc.php +++ b/infolog/setup/setup.inc.php @@ -47,10 +47,10 @@ $setup_info['infolog']['note'] = InfoLog page on our Website.

'; /* The hooks this app includes, needed for hooks registration */ -$setup_info['infolog']['hooks']['preferences'] = 'infolog.admin_prefs_sidebox_hooks.all_hooks'; +$setup_info['infolog']['hooks']['preferences'] = 'infolog.infolog_prefs_sidebox_hooks.all_hooks'; $setup_info['infolog']['hooks'][] = 'settings'; -$setup_info['infolog']['hooks']['verify_settings'] = 'infolog.admin_prefs_sidebox_hooks.verify_settings'; -$setup_info['infolog']['hooks']['admin'] = 'infolog.admin_prefs_sidebox_hooks.all_hooks'; +$setup_info['infolog']['hooks']['verify_settings'] = 'infolog.infolog_prefs_sidebox_hooks.verify_settings'; +$setup_info['infolog']['hooks']['admin'] = 'infolog.infolog_prefs_sidebox_hooks.all_hooks'; $setup_info['infolog']['hooks'][] = 'deleteaccount'; $setup_info['infolog']['hooks'][] = 'home'; $setup_info['infolog']['hooks']['addressbook_view'] = 'infolog.uiinfolog.hook_view'; @@ -59,7 +59,7 @@ $setup_info['infolog']['hooks']['calendar_view'] = 'infolog.uiinfolog.hook_vi $setup_info['infolog']['hooks']['infolog'] = 'infolog.uiinfolog.hook_view'; $setup_info['infolog']['hooks']['calendar_include_events'] = 'infolog.boinfolog.cal_to_include'; $setup_info['infolog']['hooks']['calendar_include_todos'] = 'infolog.boinfolog.cal_to_include'; -$setup_info['infolog']['hooks']['sidebox_menu'] = 'infolog.admin_prefs_sidebox_hooks.all_hooks'; +$setup_info['infolog']['hooks']['sidebox_menu'] = 'infolog.infolog_prefs_sidebox_hooks.all_hooks'; $setup_info['infolog']['hooks']['search_link'] = 'infolog.infolog_link_registry.search_link'; $setup_info['infolog']['hooks']['pm_custom_app_icons'] = 'infolog.boinfolog.pm_icons';