Commit 26e1b24b authored by nkoth's avatar nkoth

[FIX] Refresh index when file moved from one gallery to another

parent 209811be
......@@ -693,6 +693,9 @@ class FileGalLib extends TikiLib
array('anyOf' => $files->expr('(`fileId` = ? OR `archiveId` = ?)', array($file, $file)))
);
require_once('lib/search/refresh-functions.php');
refresh_index('files', $file);
return true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment