public function fileRenamed(FileEvent $e) { if ($e->getSource() instanceof EyeUserFile) { SearchFileRecollPlugin::callRecollIndex($e->getSource()->getRealFile(), '-e'); SearchFileRecollPlugin::callRecollIndex($e->getRelatedSource()->getRealFile(), '-i'); } }
public function fileRenamed(FileEvent $e) { SharingManager::getInstance()->notifyShareableObjectUpdated($e->getRelatedSource()); }