aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMichiel@unhosted <michiel@unhosted.org>2011-10-05 20:01:58 +0200
committerMichiel@unhosted <michiel@unhosted.org>2011-10-05 20:01:58 +0200
commitaf6eb52b5ee8616d4dc36d51956b96345d9b26fb (patch)
tree9eb492b424648748e0a57dda48f8801b09483a38 /apps
parentd5931b8c48e83944ca545640d051d9c28e52bfb3 (diff)
downloadnextcloud-server-af6eb52b5ee8616d4dc36d51956b96345d9b26fb.tar.gz
nextcloud-server-af6eb52b5ee8616d4dc36d51956b96345d9b26fb.zip
correct wrong variable name in remoteStorage app
Diffstat (limited to 'apps')
-rw-r--r--apps/remoteStorage/lib_remoteStorage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/remoteStorage/lib_remoteStorage.php b/apps/remoteStorage/lib_remoteStorage.php
index 259efb0da69..5677ab3c6e0 100644
--- a/apps/remoteStorage/lib_remoteStorage.php
+++ b/apps/remoteStorage/lib_remoteStorage.php
@@ -3,7 +3,7 @@
class OC_remoteStorage {
public static function getValidTokens($ownCloudUser, $userAddress, $dataScope) {
$query=OC_DB::prepare("SELECT token,appUrl FROM *PREFIX*authtoken WHERE user=? AND userAddress=? AND dataScope=? LIMIT 100");
- $result=$query->execute(array($user,$userAddress,$dataScope));
+ $result=$query->execute(array($ownCloudUser,$userAddress,$dataScope));
if( PEAR::isError($result)) {
$entry = 'DB Error: "'.$result->getMessage().'"<br />';
$entry .= 'Offending command was: '.$result->getDebugInfo().'<br />';