r4322 re-ammend recent JunOS changes
authorAlexey Andriyanov <alan@al-an.info>
Fri, 11 Mar 2011 12:19:50 +0000 (12:19 +0000)
committerAlexey Andriyanov <alan@al-an.info>
Fri, 11 Mar 2011 12:19:50 +0000 (12:19 +0000)
setDevice8021QConfig: removed the default value of the $vlan_names param cause it is never used
jun10TranslatePushQueue: idem

wwwroot/inc/deviceconfig.php
wwwroot/inc/gateways.php

index 75bc671a6494c19a118c32f5677dc6cac9fda0f4..131662aa1e838f7447b56d61c91959d00fdc3d23 100644 (file)
@@ -1177,7 +1177,7 @@ function xos12TranslatePushQueue ($queue, $dummy)
        return $ret;
 }
 
-function jun10TranslatePushQueue ($queue, $vlan_names = array())
+function jun10TranslatePushQueue ($queue, $vlan_names)
 {
        $ret = '';
 
index 0bddab0d2db979392b9896e464cfd86e0f43a881..b20bf3b7731a3f3e5a9b9341dae03fb5e0c2b07b 100644 (file)
@@ -344,7 +344,7 @@ function getRunning8021QConfig ($object_id)
        return $ret;
 }
 
-function setDevice8021QConfig ($object_id, $pseudocode, $vlan_names = array())
+function setDevice8021QConfig ($object_id, $pseudocode, $vlan_names)
 {
        require_once 'deviceconfig.php';
        if ('' == $breed = detectDeviceBreed ($object_id))