SAAS-948
This commit is contained in:
parent
cdc9f88c1c
commit
bf6244c835
7 changed files with 39 additions and 71 deletions
|
@ -48,6 +48,8 @@ class NewPlaylistController extends Zend_Controller_Action
|
|||
$modified = $this->_getParam('modified', null);
|
||||
if ($obj->getLastModified("U") !== $modified) {
|
||||
$this->createFullResponse($obj);
|
||||
Logging::info($obj->getLastModified("U"));
|
||||
Logging::info($modified);
|
||||
throw new PlaylistOutDatedException(sprintf(_("You are viewing an older version of %s"), $obj->getName()));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue