git.cweiske.de
/
grauphel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix two bugs: syncdata generation and tag linking
[grauphel.git]
/
lib
/
notestorage.php
diff --git
a/lib/notestorage.php
b/lib/notestorage.php
index d9ceaabe6bc96a29de7cea30e8ff1e2021d31d12..3b517634a5e9e7306febf15bae09c0466c994ead 100644
(file)
--- a/
lib/notestorage.php
+++ b/
lib/notestorage.php
@@
-138,8
+138,8
@@
class NoteStorage
)->fetchRow();
if ($row === false) {
)->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'];
} else {
$syncdata = new SyncData();
$syncdata->latestSyncRevision = (int) $row['syncdata_latest_sync_revision'];