aboutsummaryrefslogtreecommitdiffstats
path: root/include/diaspora.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-06-29 19:58:44 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-06-29 19:58:44 -0700
commita7135b5ecd1716575e1dfe608f744bf989381630 (patch)
tree43841fe3a511cef7fd9aebbe589e771b0607b18c /include/diaspora.php
parent6e8ad5089e3aeea6377718db91ccf48284a315fa (diff)
downloadvolse-hubzilla-a7135b5ecd1716575e1dfe608f744bf989381630.tar.gz
volse-hubzilla-a7135b5ecd1716575e1dfe608f744bf989381630.tar.bz2
volse-hubzilla-a7135b5ecd1716575e1dfe608f744bf989381630.zip
fix the postgres schema with all the changes to date
Diffstat (limited to 'include/diaspora.php')
-rwxr-xr-xinclude/diaspora.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/diaspora.php b/include/diaspora.php
index ef02b5fc0..4766a75f6 100755
--- a/include/diaspora.php
+++ b/include/diaspora.php
@@ -782,14 +782,13 @@ function diaspora_request($importer,$xml) {
$closeness = 80;
- $r = q("insert into abook ( abook_account, abook_channel, abook_xchan, abook_my_perms, abook_their_perms, abook_closeness, abook_rating, abook_created, abook_updated, abook_connected, abook_dob, abook_pending) values ( %d, %d, '%s', %d, %d, %d, %d, '%s', '%s', '%s', '%s', %d )",
+ $r = q("insert into abook ( abook_account, abook_channel, abook_xchan, abook_my_perms, abook_their_perms, abook_closeness, abook_created, abook_updated, abook_connected, abook_dob, abook_pending) values ( %d, %d, '%s', %d, %d, %d, '%s', '%s', '%s', '%s', %d )",
intval($importer['channel_account_id']),
intval($importer['channel_id']),
dbesc($ret['xchan_hash']),
intval($default_perms),
intval($their_perms),
intval($closeness),
- intval(0),
dbesc(datetime_convert()),
dbesc(datetime_convert()),
dbesc(datetime_convert()),