From: Alexander Ebert Date: Fri, 11 Nov 2011 16:12:37 +0000 (+0100) Subject: Added bitmask visibility constants X-Git-Tag: 2.0.0_Beta_1~1605 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e226284c304023c928d7daf36b6deb7de7e064f8;p=GitHub%2FWoltLab%2FWCF.git Added bitmask visibility constants --- diff --git a/wcfsetup/install/files/lib/data/option/Option.class.php b/wcfsetup/install/files/lib/data/option/Option.class.php index 9c79b26819..92035ee3cf 100644 --- a/wcfsetup/install/files/lib/data/option/Option.class.php +++ b/wcfsetup/install/files/lib/data/option/Option.class.php @@ -26,6 +26,12 @@ class Option extends DatabaseObject { */ protected static $databaseTableIndexName = 'optionID'; + const VISIBILITY_NONE = 0; + const VISIBILITY_OWNER = 1; + const VISIBILITY_ADMINISTRATOR = 2; + const VISIBILITY_OTHER = 4; + const VISIBILITY_ALL = 7; + /** * @see wcf\data\DatabaseObject::handleData() */