summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_shaper.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-01-09 01:20:05 +0545
committerPhil Davis <phil.davis@inf.org>2015-01-09 01:20:05 +0545
commit91b9a02fb131746c67fdf9f34282f123a13f1b13 (patch)
tree5a8a4e9c38f4bb4bcdfd9e8f1be7eaa23a5670d9 /usr/local/www/firewall_shaper.php
parent6d1907a3d2d9729f37fe15d0291d3a0f9a85a25e (diff)
downloadpfsense-91b9a02fb131746c67fdf9f34282f123a13f1b13.zip
pfsense-91b9a02fb131746c67fdf9f34282f123a13f1b13.tar.gz
Deprecated and non-static method messages
Fix various files that can emit messages like: PHP Strict Standards: Non-static method SimplePie_Misc::array_unique() should not be called statically, assuming $this from incompatible context in /etc/inc/simplepie/simplepie.inc on line 5508 php-fpm[16262]: /rc.newipsecdns: PHP ERROR: Type: 8192, File: /etc/inc/shaper.inc, Line: 4365, Message: Assigning the return value of new by reference is deprecated Some of these style messages have been reported on the forum, e.g. https://forum.pfsense.org/index.php?topic=86448.0 I had RSS widget on, and simplepie sent the system beserk telling about all this stuff.
Diffstat (limited to 'usr/local/www/firewall_shaper.php')
-rw-r--r--usr/local/www/firewall_shaper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/firewall_shaper.php b/usr/local/www/firewall_shaper.php
index 99ec1f6..24ff2a2 100644
--- a/usr/local/www/firewall_shaper.php
+++ b/usr/local/www/firewall_shaper.php
@@ -203,7 +203,7 @@ if ($_GET) {
unset($input_errors);
if ($addnewaltq) {
- $altq =& new altq_root_queue();
+ $altq = new altq_root_queue();
$altq->SetInterface($interface);
switch ($altq->GetBwscale()) {
OpenPOWER on IntegriCloud