Commit 12e21898 authored by Manfred Kutas's avatar Manfred Kutas

ZP-691 Remove legacy stuff - removed debugLog().

Released under the Affero GNU General Public License (AGPL) version 3.
parent 7b3448b1
...@@ -1814,7 +1814,7 @@ class BackendIMAP extends BackendDiff { ...@@ -1814,7 +1814,7 @@ class BackendIMAP extends BackendDiff {
protected function cleanupDate($receiveddate) { protected function cleanupDate($receiveddate) {
$receiveddate = strtotime(preg_replace("/\(.*\)/", "", $receiveddate)); $receiveddate = strtotime(preg_replace("/\(.*\)/", "", $receiveddate));
if ($receiveddate == false || $receiveddate == -1) { if ($receiveddate == false || $receiveddate == -1) {
debugLog("Received date is false. Message might be broken."); ZLog::Write(LOGLEVEL_DEBUG, "Received date is false. Message might be broken.");
return null; return null;
} }
......
...@@ -294,12 +294,6 @@ class ZLog { ...@@ -294,12 +294,6 @@ class ZLog {
* Legacy debug stuff * Legacy debug stuff
*/ */
// deprecated
// backwards compatible
function debugLog($message) {
ZLog::Write(LOGLEVEL_DEBUG, $message);
}
// E_DEPRECATED only available since PHP 5.3.0 // E_DEPRECATED only available since PHP 5.3.0
if (!defined('E_DEPRECATED')) define(E_DEPRECATED, 8192); if (!defined('E_DEPRECATED')) define(E_DEPRECATED, 8192);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment