1
0
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:
Cameron
2020-12-21 10:00:28 -08:00
parent 63527c4f19
commit 630f3f415f
30 changed files with 224 additions and 82 deletions

View File

@@ -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");