Page MenuHomePhorge

D25469.1737206541.diff
No OneTemporary

D25469.1737206541.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
Sat, Jan 18, 13:22 (1 d, 56 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1113041
Default Alt Text
D25469.1737206541.diff (516 B)

Event Timeline