From 859a2ac8ef1c3ce234b894598be846cbc89cf54a Mon Sep 17 00:00:00 2001 From: redmatrix Date: Mon, 15 Jun 2015 17:28:52 -0700 Subject: DB changes for some channel flags --- mod/post.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'mod/post.php') 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 -- cgit v1.2.3