aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2014-08-23 06:14:18 +0200
committerChristian Weiske <cweiske@cweiske.de>2014-08-23 06:14:18 +0200
commit580f3321c7de3becc468673a3d9bf0e2a91717a7 (patch)
tree5cd1483e6e4a43c0d3b3713dce323389bafb910f /lib
parent3e3dfcc65e13be5a49423bb90fc12e67f6b613dd (diff)
downloadgrauphel-580f3321c7de3becc468673a3d9bf0e2a91717a7.tar.gz
grauphel-580f3321c7de3becc468673a3d9bf0e2a91717a7.zip
fix two bugs: syncdata generation and tag linking
Diffstat (limited to 'lib')
-rw-r--r--lib/notestorage.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/notestorage.php b/lib/notestorage.php
index d9ceaab..3b51763 100644
--- a/lib/notestorage.php
+++ b/lib/notestorage.php
@@ -138,8 +138,8 @@ class NoteStorage
)->fetchRow();
if ($row === false) {
- $syncdata = $this->getNewSyncData($this->username);
- $this->saveSyncData($this->username, $syncdata);
+ $syncdata = $this->getNewSyncData();
+ $this->saveSyncData($syncdata);
} else {
$syncdata = new SyncData();
$syncdata->latestSyncRevision = (int) $row['syncdata_latest_sync_revision'];