Commit 57d97d62 authored by Sebastian Kummer's avatar Sebastian Kummer

Revert "Merge pull request #64 in ZP/z-push from...

Revert "Merge pull request #64 in ZP/z-push from bugfix/ZP-720-user-level-log-won-t-writeend-if-global to develop"

This reverts commit 8e916a4e.
parent 3e3ba845
...@@ -174,7 +174,7 @@ class ZLog { ...@@ -174,7 +174,7 @@ class ZLog {
* @return * @return
*/ */
static public function WriteEnd() { static public function WriteEnd() {
if (LOGLEVEL_DEBUG <= LOGLEVEL || (LOGLEVEL_DEBUG <= LOGUSERLEVEL && self::$userLog)) { if (LOGLEVEL_DEBUG <= LOGLEVEL) {
if (version_compare(phpversion(), '5.4.0') < 0) { if (version_compare(phpversion(), '5.4.0') < 0) {
$time_used = number_format(time() - $_SERVER["REQUEST_TIME"], 4); $time_used = number_format(time() - $_SERVER["REQUEST_TIME"], 4);
} }
......
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