aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorNicofuma <github@nicofuma.fr>2015-02-22 16:36:18 +0100
committerNicofuma <github@nicofuma.fr>2015-02-22 21:53:05 +0100
commitffc5a73a0cb8d7f6a10aace54be8c4a12fe0a0d3 (patch)
treeab43e5c80ba0863e25c4760383cae0495c1c7315 /phpBB/phpbb
parent379eae1a923e563bd1685835a1e913bb75ae1102 (diff)
downloadforums-ffc5a73a0cb8d7f6a10aace54be8c4a12fe0a0d3.tar
forums-ffc5a73a0cb8d7f6a10aace54be8c4a12fe0a0d3.tar.gz
forums-ffc5a73a0cb8d7f6a10aace54be8c4a12fe0a0d3.tar.bz2
forums-ffc5a73a0cb8d7f6a10aace54be8c4a12fe0a0d3.tar.xz
forums-ffc5a73a0cb8d7f6a10aace54be8c4a12fe0a0d3.zip
[ticket/13643] Change the priority of kernel_terminate_subscriber to PHP_INT_MIN
PHP_INT_MIN isn't a defined constant but it can be calculed by ~PHP_INT_MAX (two's complement of PHP_INT_MAX) PHPBB3-13643
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/event/kernel_terminate_subscriber.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/event/kernel_terminate_subscriber.php b/phpBB/phpbb/event/kernel_terminate_subscriber.php
index 57e4840380..3a709f73fd 100644
--- a/phpBB/phpbb/event/kernel_terminate_subscriber.php
+++ b/phpBB/phpbb/event/kernel_terminate_subscriber.php
@@ -35,7 +35,7 @@ class kernel_terminate_subscriber implements EventSubscriberInterface
public static function getSubscribedEvents()
{
return array(
- KernelEvents::TERMINATE => 'on_kernel_terminate',
+ KernelEvents::TERMINATE => array('on_kernel_terminate', ~PHP_INT_MAX),
);
}
}