Missing use statement should be avoided

This commit is contained in:
Simon Vieille 2015-03-05 16:52:31 +01:00
parent a6853b002d
commit a48ae7dad0
2 changed files with 2 additions and 2 deletions

View file

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

View file

@ -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;