This commit is contained in:
Duncan Sommerville 2015-08-07 19:20:29 -04:00
parent cdc9f88c1c
commit bf6244c835
7 changed files with 39 additions and 71 deletions

View file

@ -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()));
}
}