diff options
author | Björn Schießle <schiessle@owncloud.com> | 2013-02-27 10:51:32 +0100 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2013-02-27 10:51:32 +0100 |
commit | 5c7e3cf2e268e543eb2358d2c4276c2f9df95965 (patch) | |
tree | ee2b34cd9532e1b3a08ae6d33f98dec0a2e13650 /apps/files_versions/ajax | |
parent | f26c47743329679a9f2ade0b3fe778439050c5af (diff) | |
download | nextcloud-server-5c7e3cf2e268e543eb2358d2c4276c2f9df95965.tar.gz nextcloud-server-5c7e3cf2e268e543eb2358d2c4276c2f9df95965.zip |
escape regular expressions; fix typo in variable name
Diffstat (limited to 'apps/files_versions/ajax')
-rw-r--r-- | apps/files_versions/ajax/getVersions.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/files_versions/ajax/getVersions.php b/apps/files_versions/ajax/getVersions.php index 8a8fa43080c..f9174c45a65 100644 --- a/apps/files_versions/ajax/getVersions.php +++ b/apps/files_versions/ajax/getVersions.php @@ -3,7 +3,6 @@ OCP\JSON::checkAppEnabled('files_versions'); $source = $_GET['source']; list ($uid, $filename) = OCA\Files_Versions\Storage::getUidAndFilename($source); - $count = 5; //show the newest revisions if( ($versions = OCA\Files_Versions\Storage::getVersions($uid, $filename, $count)) ) { |