Page MenuHomePhorge

D25469.1734760553.diff
No OneTemporary

D25469.1734760553.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, Dec 21, 05:55 (17 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1021130
Default Alt Text
D25469.1734760553.diff (516 B)

Event Timeline