mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 17:14:42 +02:00
Improved detection of deprecated functions/methods and display in DEBUG mode: deprecated.
This commit is contained in:
@@ -7,10 +7,15 @@
|
||||
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||
*
|
||||
* Administration UI handlers, admin helper functions
|
||||
* @DEPRECATED FILE
|
||||
* @deprecated FILE
|
||||
*/
|
||||
|
||||
/**
|
||||
* @deprecated
|
||||
*/
|
||||
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
trigger_error('<b>admin_handler.php file is deprecated.</b>', E_USER_DEPRECATED); // NO LAN
|
||||
|
||||
// DEBUG INFO ONLY - do NOT translate.
|
||||
e107::getMessage()->addDebug("admin_handler.php is deprecated. You can simply remove it from your script and continue to use its functions which can now be found inside core_functions.php");
|
||||
|
Reference in New Issue
Block a user