Exemple #1
0
 public static function post_write_hook($params)
 {
     $user = \OCP\User::getUser();
     if (!empty($user)) {
         Trashbin::resizeTrash($user);
     }
 }
Exemple #2
0
 public static function post_write_hook($params)
 {
     Trashbin::resizeTrash(\OCP\User::getUser());
 }