Page MenuHomePhorge

D25469.1734770642.diff
No OneTemporary

D25469.1734770642.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, 08:44 (15 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1021130
Default Alt Text
D25469.1734770642.diff (516 B)

Event Timeline