Avoid errors by explicitely namespacing root exception

This commit is contained in:
Romain Neutron
2014-02-20 11:28:31 +01:00
parent fab9a64ae0
commit 2af21c064c
73 changed files with 164 additions and 164 deletions

View File

@@ -116,7 +116,7 @@ class set_order extends set_abstract
$stmt->closeCursor();
$app['phraseanet.appbox']->get_connection()->commit();
} catch (Exception $e) {
} catch (\Exception $e) {
$app['phraseanet.appbox']->get_connection()->rollBack();
return false;
@@ -431,7 +431,7 @@ class set_order extends set_abstract
$this->user->ACL()->grant_hd_on($record, $app['authentication']->getUser(), 'order');
unset($record);
} catch (Exception $e) {
} catch (\Exception $e) {
}
}