SAAS-580 - Fixed routing issue causing show art to not upload; changed ShowController to be more RESTful
This commit is contained in:
parent
7eef9d941e
commit
826ae17552
8 changed files with 300 additions and 332 deletions
|
@ -209,7 +209,7 @@ class Application_Service_ShowService
|
|||
|
||||
// Only delete the previous logo if a new one is being uploaded
|
||||
if (array_key_exists("add_show_logo_name", $showData) && $showData["add_show_logo_name"] !== "") {
|
||||
if (!Rest_ShowController::deleteShowImagesFromStor($showId)) {
|
||||
if (!Rest_ShowImageController::deleteShowImagesFromStor($showId)) {
|
||||
throw new Exception("Error deleting show images");
|
||||
}
|
||||
}
|
||||
|
@ -267,7 +267,7 @@ class Application_Service_ShowService
|
|||
Logging::info($e->getMessage());
|
||||
}
|
||||
|
||||
// Added to pass along to the RESTful ShowController
|
||||
// Added to pass along to the RESTful ShowImageController
|
||||
return $this->ccShow->getDbId();
|
||||
}
|
||||
|
||||
|
@ -763,7 +763,7 @@ SQL;
|
|||
|
||||
// Delete show images
|
||||
$showId = $ccShowInstance->getDbShowId();
|
||||
if (!Rest_ShowController::deleteShowImagesFromStor($showId)) {
|
||||
if (!Rest_ShowImageController::deleteShowImagesFromStor($showId)) {
|
||||
throw new Exception("Error deleting show images");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue