mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 21:43:18 +00:00
Add elasticsearch reindex events
This commit is contained in:

committed by
Mathieu Darse

parent
ad868dc70f
commit
a01bf29c5b
@@ -422,7 +422,7 @@ class databox_field implements cache_cacheableInterface
|
||||
$stmt->closeCursor();
|
||||
|
||||
if ($this->renamed) {
|
||||
caption_field::rename_all_metadatas($this);
|
||||
caption_field::rename_all_metadata($this->app['dispatcher'], $this);
|
||||
$this->renamed = false;
|
||||
}
|
||||
|
||||
|
@@ -128,6 +128,7 @@ class databox_status
|
||||
if ( ! isset(self::$_status[$sbas_id]))
|
||||
self::$_status[$sbas_id] = new databox_status($app, $sbas_id);
|
||||
|
||||
|
||||
return self::$_status[$sbas_id]->status;
|
||||
}
|
||||
|
||||
@@ -265,7 +266,7 @@ class databox_status
|
||||
|
||||
public static function updateStatus(Application $app, $sbas_id, $bit, $properties)
|
||||
{
|
||||
self::getStatus($app, $sbas_id);
|
||||
self::getStatus($app, $sbas_id);
|
||||
|
||||
$databox = $app['phraseanet.appbox']->get_databox((int) $sbas_id);
|
||||
|
||||
|
Reference in New Issue
Block a user