latest update
[namibia] / module / Stock / src / Stock / Service / Stock.php
index 3283078..ae03c28 100644 (file)
@@ -697,7 +697,7 @@ class Stock extends \Stock\DataBin\Stock
 
                if((integer)$previousState!==3)
                {
-                       exec("php /var/www/B4C2/public/index.php stock change 3 " . $stock->id . " $userId  > /dev/null &");
+                       exec("php /var/www/namibia/public/index.php stock change 3 " . $stock->id . " $userId  > /dev/null &");
                        //undo relist
 
                        $query=$this->em->createQuery("UPDATE Auction\Entity\Auction auction SET auction.jobState='' WHERE auction.stock='".$stock->id."' ");
@@ -722,7 +722,7 @@ class Stock extends \Stock\DataBin\Stock
 
                if((integer)$previousState!==1)
                {
-                       exec("php /var/www/B4C2/public/index.php stock change 1 " . $stock->id . " $userId  > /dev/null &");
+                       exec("php /var/www/namibia/public/index.php stock change 1 " . $stock->id . " $userId  > /dev/null &");
                        //undo relist
 
                        $query=$this->em->createQuery("UPDATE Auction\Entity\Auction auction SET auction.jobState='' WHERE auction.stock='".$stock->id."' ");
@@ -750,7 +750,7 @@ class Stock extends \Stock\DataBin\Stock
                $userId = \Utility\Registry::isAuthenticated()
                        ? \Utility\Registry::getAuthParam('id')
                        : 0;
-               exec("php /var/www/B4C2/public/index.php stock change 1 " . $record->id . " $userId  > /dev/null &");
+               exec("php /var/www/namibia/public/index.php stock change 1 " . $record->id . " $userId  > /dev/null &");
        }
 
        /**
@@ -767,7 +767,7 @@ class Stock extends \Stock\DataBin\Stock
                $userId = \Utility\Registry::isAuthenticated()
                        ? \Utility\Registry::getAuthParam('id')
                        : 0;
-               exec("php /var/www/B4C2/public/index.php stock change 2 " . $record->id . " $userId  > /dev/null &");
+               exec("php /var/www/namibia/public/index.php stock change 2 " . $record->id . " $userId  > /dev/null &");
        }
 
        /**
@@ -785,7 +785,7 @@ class Stock extends \Stock\DataBin\Stock
                $userId = \Utility\Registry::isAuthenticated()
                        ? \Utility\Registry::getAuthParam('id')
                        : 0;
-               exec("php /var/www/B4C2/public/index.php stock change 3 " . $record->id . " $userId  > /dev/null &");
+               exec("php /var/www/namibia/public/index.php stock change 3 " . $record->id . " $userId  > /dev/null &");
        }
 
        /**