diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-06-15 17:28:52 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-06-15 17:28:52 -0700 |
commit | 859a2ac8ef1c3ce234b894598be846cbc89cf54a (patch) | |
tree | 05993acfb095fa16db4145ad84f4db51f377213c /mod/post.php | |
parent | 91d92fe6fcbd98e33fb6f76a63e91ebb086aeff0 (diff) | |
download | volse-hubzilla-859a2ac8ef1c3ce234b894598be846cbc89cf54a.tar.gz volse-hubzilla-859a2ac8ef1c3ce234b894598be846cbc89cf54a.tar.bz2 volse-hubzilla-859a2ac8ef1c3ce234b894598be846cbc89cf54a.zip |
DB changes for some channel flags
Diffstat (limited to 'mod/post.php')
-rw-r--r-- | mod/post.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mod/post.php b/mod/post.php index 66a354ead..dfda7db9d 100644 --- a/mod/post.php +++ b/mod/post.php @@ -103,9 +103,7 @@ function post_init(&$a) { // Any channel will do, providing it's currently active. We just need to have an // identity to attach to the packet we send back. So find one. - $c = q("select * from channel where not ( channel_pageflags & %d )>0 limit 1", - intval(PAGE_REMOVED) - ); + $c = q("select * from channel where channel_removed = 0 limit 1"); if (! $c) { // nobody here |