namibia
Diff Revisions
df0489 ...
vs
bb2698 ...
for module/Stock/src/Stock/Service/Stock.php
|
@@ -697,7 +697,7 @@ |
697 |
697 |
|
|
698 |
698 |
|
if((integer)$previousState!==3) |
699 |
699 |
|
{ |
700 |
|
- |
exec("php /var/www/B4C2/public/index.php stock change 3 " . $stock->id . " $userId > /dev/null &"); |
|
700 |
+ |
exec("php /var/www/namibia/public/index.php stock change 3 " . $stock->id . " $userId > /dev/null &"); |
701 |
701 |
|
//undo relist |
702 |
702 |
|
|
703 |
703 |
|
$query=$this->em->createQuery("UPDATE Auction\Entity\Auction auction SET auction.jobState='' WHERE auction.stock='".$stock->id."' "); |
|
@@ -722,7 +722,7 @@ |
722 |
722 |
|
|
723 |
723 |
|
if((integer)$previousState!==1) |
724 |
724 |
|
{ |
725 |
|
- |
exec("php /var/www/B4C2/public/index.php stock change 1 " . $stock->id . " $userId > /dev/null &"); |
|
725 |
+ |
exec("php /var/www/namibia/public/index.php stock change 1 " . $stock->id . " $userId > /dev/null &"); |
726 |
726 |
|
//undo relist |
727 |
727 |
|
|
728 |
728 |
|
$query=$this->em->createQuery("UPDATE Auction\Entity\Auction auction SET auction.jobState='' WHERE auction.stock='".$stock->id."' "); |
|
@@ -750,7 +750,7 @@ |
750 |
750 |
|
$userId = \Utility\Registry::isAuthenticated() |
751 |
751 |
|
? \Utility\Registry::getAuthParam('id') |
752 |
752 |
|
: 0; |
753 |
|
- |
exec("php /var/www/B4C2/public/index.php stock change 1 " . $record->id . " $userId > /dev/null &"); |
|
753 |
+ |
exec("php /var/www/namibia/public/index.php stock change 1 " . $record->id . " $userId > /dev/null &"); |
754 |
754 |
|
} |
755 |
755 |
|
|
756 |
756 |
|
/** |
|
@@ -767,7 +767,7 @@ |
767 |
767 |
|
$userId = \Utility\Registry::isAuthenticated() |
768 |
768 |
|
? \Utility\Registry::getAuthParam('id') |
769 |
769 |
|
: 0; |
770 |
|
- |
exec("php /var/www/B4C2/public/index.php stock change 2 " . $record->id . " $userId > /dev/null &"); |
|
770 |
+ |
exec("php /var/www/namibia/public/index.php stock change 2 " . $record->id . " $userId > /dev/null &"); |
771 |
771 |
|
} |
772 |
772 |
|
|
773 |
773 |
|
/** |
|
@@ -785,7 +785,7 @@ |
785 |
785 |
|
$userId = \Utility\Registry::isAuthenticated() |
786 |
786 |
|
? \Utility\Registry::getAuthParam('id') |
787 |
787 |
|
: 0; |
788 |
|
- |
exec("php /var/www/B4C2/public/index.php stock change 3 " . $record->id . " $userId > /dev/null &"); |
|
788 |
+ |
exec("php /var/www/namibia/public/index.php stock change 3 " . $record->id . " $userId > /dev/null &"); |
789 |
789 |
|
} |
790 |
790 |
|
|
791 |
791 |
|
/** |