summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_shaper_vinterface.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_vinterface.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_vinterface.php')
-rw-r--r--usr/local/www/firewall_shaper_vinterface.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/firewall_shaper_vinterface.php b/usr/local/www/firewall_shaper_vinterface.php
index 0930af1..82255bb 100644
--- a/usr/local/www/firewall_shaper_vinterface.php
+++ b/usr/local/www/firewall_shaper_vinterface.php
@@ -204,7 +204,7 @@ if ($_GET) {
if (!empty($dummynet_pipe_list[$qname]))
$input_errors[] = gettext("You cannot name a child queue with the same name as a parent limiter");
else {
- $dnpipe =& new dnpipe_class();
+ $dnpipe = new dnpipe_class();
$dnpipe->ReadConfig($_POST);
$dnpipe->validate_input($_POST, $input_errors);
OpenPOWER on IntegriCloud