Exemple #1
0
 public static function post_deleteHook($arguments)
 {
     $h = new Publisher();
     $path = $arguments['path'];
     $info = null;
     if (isset(self::$deleteFileInfo[$path])) {
         $info = self::$deleteFileInfo[$path];
     }
     $h->pushFileChange('deleted', $path, $info);
     // quota change handling
     $postStorageInfo = \OC_Helper::getStorageInfo('/');
     $h->pushQuotaChange(self::$preStorageInfo, $postStorageInfo);
 }