Added closes to patch, removed timestampable listener from 320f

This commit is contained in:
Andrey
2013-09-04 13:35:02 +02:00
parent 5575a8ec73
commit 6e970837a1
2 changed files with 9 additions and 0 deletions

View File

@@ -83,6 +83,7 @@ class patch_320f implements patchInterface
$date_ref = new DateTime();
$n = 0;
$app['EM']->getEventManager()->removeEventSubscriber(new TimestampableListener());
foreach ($rs as $row) {
$user = User_Adapter::getInstance($row['usr_id'], $app);
@@ -152,6 +153,8 @@ class patch_320f implements patchInterface
$app['EM']->flush();
$app['EM']->clear();
$app['EM']->getEventManager()->removeEventSubscriber(new TimestampableListener());
return true;
}