summaryrefslogtreecommitdiffstats
path: root/apps/files_versions/ajax
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-02-27 10:51:32 +0100
committerBjörn Schießle <schiessle@owncloud.com>2013-02-27 10:51:32 +0100
commit5c7e3cf2e268e543eb2358d2c4276c2f9df95965 (patch)
treeee2b34cd9532e1b3a08ae6d33f98dec0a2e13650 /apps/files_versions/ajax
parentf26c47743329679a9f2ade0b3fe778439050c5af (diff)
downloadnextcloud-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.php1
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)) ) {