aboutsummaryrefslogtreecommitdiffstats
path: root/include/identity.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-01-22 21:04:54 -0800
committerfriendica <info@friendica.com>2015-01-22 21:04:54 -0800
commit4c2a1e572a03e253f05f03e400af26d403cbda32 (patch)
treeedf7afa0bb97dfb9c8ea598a28c3e6281a65ec90 /include/identity.php
parent6e0e3b2433fc426b758a55811f56536d58705813 (diff)
downloadvolse-hubzilla-4c2a1e572a03e253f05f03e400af26d403cbda32.tar.gz
volse-hubzilla-4c2a1e572a03e253f05f03e400af26d403cbda32.tar.bz2
volse-hubzilla-4c2a1e572a03e253f05f03e400af26d403cbda32.zip
start on item_restrict conversion
Diffstat (limited to 'include/identity.php')
-rw-r--r--include/identity.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/identity.php b/include/identity.php
index ce29e71f0..028df681e 100644
--- a/include/identity.php
+++ b/include/identity.php
@@ -589,8 +589,7 @@ function identity_basic_export($channel_id, $items = false) {
// warning: this may run into memory limits on smaller systems
- $r = q("select * from item where item_wall = 1 and not (item_restrict & %d)>0 and uid = %d",
- intval(ITEM_DELETED),
+ $r = q("select * from item where item_wall = 1 and item_deleted = 0 and uid = %d",
intval($channel_id)
);
if($r) {