Changeset 20359 for extensions


Ignore:
Timestamp:
Jan 24, 2013, 7:47:12 PM (12 years ago)
Author:
mistic100
Message:

this plugin is depreciated

File:
1 edited

Legend:

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

    r19396 r20359  
    1616add_event_handler('loc_end_picture', 'gplus1_add_button');
    1717add_event_handler('loc_end_index', 'gplus1_add_button');
     18
     19add_event_handler('loc_begin_admin', 'gplus1_depreciated');
     20
     21function gplus1_depreciated()
     22{
     23  global $page;
     24  $page['warnings'][] = 'Google+1 is depreciated, please use <a href="http://piwigo.org/ext/extension_view.php?eid=673">Social Buttons</a> instead.';
     25}
    1826
    1927
Note: See TracChangeset for help on using the changeset viewer.