From e226284c304023c928d7daf36b6deb7de7e064f8 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Fri, 11 Nov 2011 17:12:37 +0100 Subject: [PATCH] Added bitmask visibility constants --- wcfsetup/install/files/lib/data/option/Option.class.php | 6 ++++++ 1 file changed, 6 insertions(+) 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() */ -- 2.20.1