Changeset 32414


Ignore:
Timestamp:
Jan 19, 2021, 1:45:07 PM (3 years ago)
Author:
ddtddt
Message:

[Statistics] compatibility piwigo11

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Statistics/main.inc.php

    r8426 r32414  
    77Author: Ruben & Sakkhho
    88Author URI: http://piwigo.org
     9Has Settings: webmaster
    910*/
    1011if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
     
    1213define('STAT_PATH' , PHPWG_PLUGINS_PATH . STAT_DIR . '/');
    1314
     15/* add_event_handler('get_admin_plugin_menu_links', 'statistics_admin_menu');
    1416function statistics_admin_menu($menu)
    1517{
     
    2325  return $menu;
    2426}
    25 
     27*/
    2628function stat_candoit($type)
    2729{
     
    8385}
    8486
    85 add_event_handler('get_admin_plugin_menu_links', 'statistics_admin_menu');
     87
    8688add_event_handler('loc_end_page_tail', 'stat_tail');
    8789add_event_handler('loc_end_page_header', 'stat_header');
Note: See TracChangeset for help on using the changeset viewer.