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 /include/RedDAV/RedFile.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 'include/RedDAV/RedFile.php')
-rw-r--r-- | include/RedDAV/RedFile.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/RedDAV/RedFile.php b/include/RedDAV/RedFile.php index 164498676..1fd2dab8f 100644 --- a/include/RedDAV/RedFile.php +++ b/include/RedDAV/RedFile.php @@ -97,9 +97,8 @@ class RedFile extends DAV\Node implements DAV\IFile { $size = 0; // @todo only 3 values are needed - $c = q("SELECT * FROM channel WHERE channel_id = %d AND (channel_pageflags & %d) = 0 LIMIT 1", - intval($this->auth->owner_id), - intval(PAGE_REMOVED) + $c = q("SELECT * FROM channel WHERE channel_id = %d AND channel_removed = 0 LIMIT 1", + intval($this->auth->owner_id) ); $is_photo = false; |