diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2014-06-10 14:47:32 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2014-06-10 14:47:32 +0200 |
commit | f4a183e753c1c7b5397c866cf6627f7512a86382 (patch) | |
tree | 33698f222f96aa3afefd4dc96b0856f6a89a0e47 /apps/files_versions/lib/versions.php | |
parent | 1d9b4aadbf65794f34c70ece5d3faa784191acf1 (diff) | |
download | nextcloud-server-f4a183e753c1c7b5397c866cf6627f7512a86382.tar.gz nextcloud-server-f4a183e753c1c7b5397c866cf6627f7512a86382.zip |
wwe no longer have a versions table
Diffstat (limited to 'apps/files_versions/lib/versions.php')
-rw-r--r-- | apps/files_versions/lib/versions.php | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/apps/files_versions/lib/versions.php b/apps/files_versions/lib/versions.php index 15d0e032ea0..b912fc8ba76 100644 --- a/apps/files_versions/lib/versions.php +++ b/apps/files_versions/lib/versions.php @@ -302,17 +302,6 @@ class Storage { } /** - * deletes used space for files versions in db if user was deleted - * - * @param string $uid id of deleted user - * @return \OC_DB_StatementWrapper of db delete operation - */ - public static function deleteUser($uid) { - $query = \OC_DB::prepare('DELETE FROM `*PREFIX*files_versions` WHERE `user`=?'); - return $query->execute(array($uid)); - } - - /** * returns all stored file versions from a given user * @param string $uid id of the user * @return array with contains two arrays 'all' which contains all versions sorted by age and 'by_file' which contains all versions sorted by filename |