CC-4302: Library : Deletion of newly created Smart Block does not prevent you from editing it which leads to small hang up
-removed unnecessary exception catch
This commit is contained in:
parent
fe48780932
commit
7c79aad5f4
|
@ -509,8 +509,6 @@ class PlaylistController extends Zend_Controller_Action
|
|||
}
|
||||
} catch (BlockNotFoundException $e) {
|
||||
$this->playlistNotFound('block', true);
|
||||
} catch (PlaylistNotFoundException $e) {
|
||||
$this->playlistNotFound('block');
|
||||
} catch (Exception $e) {
|
||||
$this->playlistUnknownError($e);
|
||||
}
|
||||
|
@ -531,8 +529,6 @@ class PlaylistController extends Zend_Controller_Action
|
|||
}
|
||||
} catch (BlockNotFoundException $e) {
|
||||
$this->playlistNotFound('block', true);
|
||||
} catch (PlaylistNotFoundException $e) {
|
||||
$this->playlistNotFound('block');
|
||||
} catch (Exception $e) {
|
||||
$this->playlistUnknownError($e);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue