Missing use statement should be avoided
This commit is contained in:
parent
a6853b002d
commit
a48ae7dad0
|
@ -639,7 +639,7 @@ class BaseAdminController extends Controller
|
|||
$object->delete();
|
||||
$this->postRemove($object);
|
||||
$this->getSessionUser()->setFlash('message', new FlashSuccess('crud.flash.removed'), false, $this->getConfiguration()->getStorageNamespace());
|
||||
} catch (PropelException $e) {
|
||||
} catch (\PropelException $e) {
|
||||
$this->getSessionUser()->setFlash('message', new FlashError('crud.flash.fail.remove'), false, $this->getConfiguration()->getStorageNamespace());
|
||||
}
|
||||
}
|
||||
|
|
|
@ -62,7 +62,7 @@ class Menu extends BaseMenu
|
|||
return $this->nodes;
|
||||
}
|
||||
|
||||
public function getNodesByUpdatedAt($criteria = null, PropelPDO $con = null)
|
||||
public function getNodesByUpdatedAt($criteria = null, \PropelPDO $con = null)
|
||||
{
|
||||
if (!empty($this->nodes_by_updated_at)) {
|
||||
return $this->nodes_by_updated_at;
|
||||
|
|
Loading…
Reference in a new issue