Page MenuHomePhorge

D25469.1736848941.diff
No OneTemporary

D25469.1736848941.diff

diff --git a/support/startup/PhabricatorStartup.php b/support/startup/PhabricatorStartup.php
--- a/support/startup/PhabricatorStartup.php
+++ b/support/startup/PhabricatorStartup.php
@@ -261,10 +261,11 @@
public static function setDebugTimeLimit($limit) {
self::$debugTimeLimit = $limit;
- static $initialized;
+ static $initialized = false;
if (!$initialized) {
declare(ticks=1);
register_tick_function(array(__CLASS__, 'onDebugTick'));
+ $initialized = true;
}
}

File Metadata

Mime Type
text/plain
Expires
Tue, Jan 14, 10:02 (5 d, 4 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1113041
Default Alt Text
D25469.1736848941.diff (516 B)

Event Timeline