aboutsummaryrefslogtreecommitdiffstats
path: root/include/externals.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-05-06 21:03:33 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-05-06 21:03:33 -0700
commit25b599a4bd831f175572c2388754e8734a255d77 (patch)
tree16559183d5d004c430dd8d83171bb9348e784021 /include/externals.php
parent75b8bfc07a2431a6d4d5f2f72864d6cd3aa33cf6 (diff)
downloadvolse-hubzilla-25b599a4bd831f175572c2388754e8734a255d77.tar.gz
volse-hubzilla-25b599a4bd831f175572c2388754e8734a255d77.tar.bz2
volse-hubzilla-25b599a4bd831f175572c2388754e8734a255d77.zip
convert ITEM_WALL from bitfield to standalone
Diffstat (limited to 'include/externals.php')
-rw-r--r--include/externals.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/externals.php b/include/externals.php
index b0f853dc6..779d060e7 100644
--- a/include/externals.php
+++ b/include/externals.php
@@ -99,14 +99,14 @@ function externals_run($argv, $argc){
// );
$z = null;
if($z) {
- $flag_bits = ITEM_WALL|ITEM_ORIGIN|ITEM_UPLINK;
+ $flag_bits = ITEM_ORIGIN|ITEM_UPLINK;
// preserve the source
$r = q("update item set source_xchan = owner_xchan where id = %d",
intval($z[0]['id'])
);
- $r = q("update item set item_flags = ( item_flags | %d ), owner_xchan = '%s'
+ $r = q("update item set item_flags = ( item_flags | %d ), item_wall = 1, owner_xchan = '%s'
where id = %d",
intval($flag_bits),
dbesc($sys['xchan_hash']),