aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2012-08-28 21:54:33 +0200
committerJoas Schilling <nickvergessen@gmx.de>2012-08-29 17:50:12 +0200
commit5ff35ccf72042cadc7f0bddc540eb26f1d99e11b (patch)
tree768d80e70a2de81f7666bd8b6d3668ac276fd55e
parent1ab41f8dc6ec81f2aaf152229d5f0275de796c85 (diff)
downloadforums-5ff35ccf72042cadc7f0bddc540eb26f1d99e11b.tar
forums-5ff35ccf72042cadc7f0bddc540eb26f1d99e11b.tar.gz
forums-5ff35ccf72042cadc7f0bddc540eb26f1d99e11b.tar.bz2
forums-5ff35ccf72042cadc7f0bddc540eb26f1d99e11b.tar.xz
forums-5ff35ccf72042cadc7f0bddc540eb26f1d99e11b.zip
[feature/soft-delete] Use autoloading for content_visibility class
PHPBB3-9657
-rw-r--r--phpBB/common.php3
-rw-r--r--phpBB/includes/content_visibility.php (renamed from phpBB/includes/class_content_visibility.php)5
2 files changed, 2 insertions, 6 deletions
diff --git a/phpBB/common.php b/phpBB/common.php
index 11a1c06d21..c7c5859c25 100644
--- a/phpBB/common.php
+++ b/phpBB/common.php
@@ -82,9 +82,6 @@ require($phpbb_root_path . 'includes/constants.' . $phpEx);
require($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx);
require($phpbb_root_path . 'includes/utf/utf_tools.' . $phpEx);
-
-include($phpbb_root_path . 'includes/class_content_visibility.'.$phpEx);
-
// Set PHP error handler to ours
set_error_handler(defined('PHPBB_MSG_HANDLER') ? PHPBB_MSG_HANDLER : 'msg_handler');
diff --git a/phpBB/includes/class_content_visibility.php b/phpBB/includes/content_visibility.php
index 93643773d9..12b51df3bb 100644
--- a/phpBB/includes/class_content_visibility.php
+++ b/phpBB/includes/content_visibility.php
@@ -2,9 +2,8 @@
/**
*
* @package phpbb
-* @version $Id$
-* @copyright (c) 2010 phpBB Group
-* @license http://opensource.org/licenses/gpl-license.php GNU Public License
+* @copyright (c) 2012 phpBB Group
+* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/