Changeset 20064


Ignore:
Timestamp:
Jan 11, 2013, 2:27:32 PM (8 years ago)
Author:
mistic100
Message:

remove useless plugins menu item

Location:
extensions/url_uploader
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/url_uploader/admin.php

    r19804 r20064  
    1414include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php');
    1515include_once(PHPWG_ROOT_PATH.'admin/include/functions_upload.inc.php');
    16 include_once(PHPWG_ROOT_PATH.'admin/include/image.class.php');
    1716
    1817$allowed_extensions = array('jpg','jpeg','png','gif');
  • extensions/url_uploader/include/functions.inc.php

    r19804 r20064  
    11<?php
    22defined('URLUPLOADER_PATH') or die('Hacking attempt!');
    3 
    4 /**
    5  * admin plugins menu link
    6  */
    7 function urluploader_admin_plugin_menu_links($menu)
    8 {
    9   array_push($menu, array(
    10     'NAME' => l10n('URL Uploader'),
    11     'URL' => URLUPLOADER_ADMIN,
    12   ));
    13   return $menu;
    14 }
    153
    164/**
  • extensions/url_uploader/main.inc.php

    r19804 r20064  
    2525if (defined('IN_ADMIN'))
    2626{
    27   // admin plugins menu link
    28   add_event_handler('get_admin_plugin_menu_links', 'urluploader_admin_plugin_menu_links');
    29  
    3027  // new tab on photo page
    3128  add_event_handler('tabsheet_before_select', 'urluploader_tabsheet_before_select', EVENT_HANDLER_PRIORITY_NEUTRAL, 2);
Note: See TracChangeset for help on using the changeset viewer.