diff options
author | Friendika <info@friendika.com> | 2011-09-20 01:49:08 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-09-20 01:49:08 -0700 |
commit | 9edf15d3ef0548a35862fab37eee1fd310705285 (patch) | |
tree | d8c6e34b8e83116d1c9151b58ca63d24845923cb /mod | |
parent | 8a11cec61a87600273f1349e3d112e7fc1e65486 (diff) | |
download | volse-hubzilla-9edf15d3ef0548a35862fab37eee1fd310705285.tar.gz volse-hubzilla-9edf15d3ef0548a35862fab37eee1fd310705285.tar.bz2 volse-hubzilla-9edf15d3ef0548a35862fab37eee1fd310705285.zip |
structures for batch mode (Diaspora/zot)
Diffstat (limited to 'mod')
-rw-r--r-- | mod/follow.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/follow.php b/mod/follow.php index df4d2e630..77c8ae18f 100644 --- a/mod/follow.php +++ b/mod/follow.php @@ -100,14 +100,15 @@ function follow_post(&$a) { $new_relation = CONTACT_IS_FOLLOWER; // create contact record - $r = q("INSERT INTO `contact` ( `uid`, `created`, `url`, `addr`, `alias`, `notify`, `poll`, `name`, `nick`, `photo`, `network`, `pubkey`, `rel`, `priority`, + $r = q("INSERT INTO `contact` ( `uid`, `created`, `url`, `addr`, `alias`, `batch`, `notify`, `poll`, `name`, `nick`, `photo`, `network`, `pubkey`, `rel`, `priority`, `writable`, `blocked`, `readonly`, `pending` ) - VALUES ( %d, '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', %d, %d, %d, 0, 0, 0 ) ", + VALUES ( %d, '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', %d, %d, %d, 0, 0, 0 ) ", intval(local_user()), dbesc(datetime_convert()), dbesc($ret['url']), dbesc($ret['addr']), dbesc($ret['alias']), + dbesc($ret['batch']), dbesc($ret['notify']), dbesc($ret['poll']), dbesc($ret['name']), |