From: <car...@us...> - 2025-03-09 19:45:29
|
Revision: 11181 http://sourceforge.net/p/phpwiki/code/11181 Author: carstenklapp Date: 2025-03-09 19:45:21 +0000 (Sun, 09 Mar 2025) Log Message: ----------- Fixed more deprecated Modified Paths: -------------- trunk/lib/ErrorManager.php Modified: trunk/lib/ErrorManager.php =================================================================== --- trunk/lib/ErrorManager.php 2025-03-09 16:47:46 UTC (rev 11180) +++ trunk/lib/ErrorManager.php 2025-03-09 19:45:21 UTC (rev 11181) @@ -504,7 +504,7 @@ return ($this->errno & EM_NOTICE_ERRORS) != 0; } - public function isDepreciated() + public function isDeprecated() { return ($this->errno & E_DEPRECATED) != 0; //E_DEPRECATED is 8192 } @@ -513,7 +513,7 @@ { if ($this->isNotice()) { return 'hint'; - } elseif ($this->isDepreciated()) { + } elseif ($this->isDeprecated()) { return 'deprecated'; } elseif ($this->isWarning()) { return 'warning'; @@ -526,7 +526,7 @@ { if ($this->isNotice()) { return 'Notice'; - } elseif ($this->isDepreciated()) { + } elseif ($this->isDeprecated()) { return 'deprecated'; } elseif ($this->isWarning()) { return 'Warning'; @@ -580,7 +580,7 @@ $html->pushContent($list); } // only print deprecated if debug is 2 or higher - if (DEBUG < 2 && $this->isDepreciated()) { + if (DEBUG < 2 && $this->isDeprecated()) { $html=false; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |