SAAS-1083 - Implement unpublishing
This commit is contained in:
parent
4b11979eff
commit
40a2aa10d8
3 changed files with 24 additions and 13 deletions
|
@ -29,7 +29,7 @@ class Application_Service_PublishService {
|
|||
public static function publish($fileId, $data) {
|
||||
foreach ($data as $k => $v) {
|
||||
$service = PublishServiceFactory::getService($k);
|
||||
if ($v) $service->publish($fileId);
|
||||
$service->$v($fileId);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue