From 28410a971bca909e663b01fa6e0000d64b08ae9d Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Thu, 7 Feb 2013 10:52:25 +0100 Subject: [PATCH] Removes commas in documentations --- wcfsetup/install/files/js/WCF.js | 10 +++++----- .../files/lib/data/acp/session/ACPSession.class.php | 4 ++-- .../session/access/log/ACPSessionAccessLog.class.php | 4 ++-- .../lib/data/acp/session/log/ACPSessionLog.class.php | 6 +++--- .../install/files/lib/data/option/Option.class.php | 4 ++-- .../install/files/lib/data/package/Package.class.php | 8 ++++---- .../lib/data/page/menu/item/PageMenuItem.class.php | 8 ++++---- wcfsetup/install/files/lib/data/user/User.class.php | 8 ++++---- .../files/lib/data/user/group/UserGroup.class.php | 6 +++--- .../files/lib/data/user/option/UserOption.class.php | 4 ++-- .../install/files/lib/page/MultipleLinkPage.class.php | 6 +++--- wcfsetup/install/files/lib/system/WCFSetup.class.php | 2 +- .../system/application/ApplicationHandler.class.php | 2 +- .../lib/system/application/IApplication.class.php | 4 ++-- .../files/lib/system/category/ICategoryType.class.php | 8 ++++---- .../files/lib/system/database/Database.class.php | 4 ++-- wcfsetup/install/files/lib/system/io/Tar.class.php | 4 ++-- .../files/lib/system/language/I18nHandler.class.php | 10 +++++----- .../files/lib/system/option/IOptionType.class.php | 4 ++-- .../user/group/BooleanUserGroupOptionType.class.php | 2 +- .../group/InfiniteIntegerUserGroupOptionType.class.php | 2 +- .../files/lib/system/package/PackageArchive.class.php | 2 +- .../plugin/IPackageInstallationPlugin.class.php | 4 ++-- .../install/files/lib/system/request/Request.class.php | 6 +++--- .../install/files/lib/system/request/Route.class.php | 4 ++-- .../files/lib/system/request/RouteHandler.class.php | 8 ++++---- ...bstractCategorizedACPSearchResultProvider.class.php | 4 ++-- .../user/authentication/IUserAuthentication.class.php | 4 ++-- wcfsetup/install/files/lib/util/FileUtil.class.php | 6 +++--- wcfsetup/install/files/lib/util/ImageUtil.class.php | 7 +++---- wcfsetup/install/files/lib/util/PasswordUtil.class.php | 6 +++--- wcfsetup/install/files/lib/util/StringUtil.class.php | 8 ++++---- wcfsetup/install/files/lib/util/UserUtil.class.php | 10 +++++----- 33 files changed, 89 insertions(+), 90 deletions(-) diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index 9c17fd9b48..66f55b797e 100755 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -2458,7 +2458,7 @@ WCF.Dictionary = Class.extend({ }, /** - * Returns true, if dictionary is empty. + * Returns true if dictionary is empty. * * @return integer */ @@ -3062,8 +3062,8 @@ WCF.TabMenu = { }, /** - * Force display of first erroneous tab, returns true, if at - * least one tab contains an error. + * Force display of first erroneous tab and returns true if at least one + * tab contains an error. * * @return boolean */ @@ -7747,7 +7747,7 @@ $.widget('ui.wcfDialog', { }, /** - * Returns true, if dialog is visible. + * Returns true if dialog is visible. * * @return boolean */ @@ -8050,7 +8050,7 @@ $.widget('ui.wcfTabs', $.ui.tabs, { }, /** - * Returns true, if identifier is used by an anchor. + * Returns true if identifier is used by an anchor. * * @param string identifier * @param boolean isChildren diff --git a/wcfsetup/install/files/lib/data/acp/session/ACPSession.class.php b/wcfsetup/install/files/lib/data/acp/session/ACPSession.class.php index c100d0c5b7..18ed4135c9 100644 --- a/wcfsetup/install/files/lib/data/acp/session/ACPSession.class.php +++ b/wcfsetup/install/files/lib/data/acp/session/ACPSession.class.php @@ -6,7 +6,7 @@ use wcf\data\DatabaseObject; * Represents an ACP session. * * @author Alexander Ebert - * @copyright 2001-2012 WoltLab GmbH + * @copyright 2001-2013 WoltLab GmbH * @license GNU Lesser General Public License * @package com.woltlab.wcf * @subpackage data.acp.session @@ -29,7 +29,7 @@ class ACPSession extends DatabaseObject { protected static $databaseTableIndexName = 'sessionID'; /** - * Returns true, if this session type supports persistent logins. + * Returns true if this session type supports persistent logins. * * @return boolean */ diff --git a/wcfsetup/install/files/lib/data/acp/session/access/log/ACPSessionAccessLog.class.php b/wcfsetup/install/files/lib/data/acp/session/access/log/ACPSessionAccessLog.class.php index 7f13cd9dc2..cdf7444ae6 100644 --- a/wcfsetup/install/files/lib/data/acp/session/access/log/ACPSessionAccessLog.class.php +++ b/wcfsetup/install/files/lib/data/acp/session/access/log/ACPSessionAccessLog.class.php @@ -7,7 +7,7 @@ use wcf\util\UserUtil; * Represents a session access log entry. * * @author Marcel Werk - * @copyright 2001-2012 WoltLab GmbH + * @copyright 2001-2013 WoltLab GmbH * @license GNU Lesser General Public License * @package com.woltlab.wcf * @subpackage data.acp.session.access.log @@ -25,7 +25,7 @@ class ACPSessionAccessLog extends DatabaseObject { protected static $databaseTableIndexName = 'sessionAccessLogID'; /** - * Returns true, if the URI of this log entry is protected. + * Returns true if the URI of this log entry is protected. * * @return boolean */ diff --git a/wcfsetup/install/files/lib/data/acp/session/log/ACPSessionLog.class.php b/wcfsetup/install/files/lib/data/acp/session/log/ACPSessionLog.class.php index a442439262..e3b4a2d756 100644 --- a/wcfsetup/install/files/lib/data/acp/session/log/ACPSessionLog.class.php +++ b/wcfsetup/install/files/lib/data/acp/session/log/ACPSessionLog.class.php @@ -8,7 +8,7 @@ use wcf\util\UserUtil; * Represents a session log entry. * * @author Marcel Werk - * @copyright 2001-2012 WoltLab GmbH + * @copyright 2001-2013 WoltLab GmbH * @license GNU Lesser General Public License * @package com.woltlab.wcf * @subpackage data.log @@ -49,7 +49,7 @@ class ACPSessionLog extends DatabaseObject { } /** - * Returns true, if this session is active. + * Returns true if this session is active. * * @return boolean */ @@ -62,7 +62,7 @@ class ACPSessionLog extends DatabaseObject { } /** - * Returns true, if this session is the active user session. + * Returns true if this session is the active user session. * * @return boolean */ diff --git a/wcfsetup/install/files/lib/data/option/Option.class.php b/wcfsetup/install/files/lib/data/option/Option.class.php index 48eeda79cb..5e5d4f8eda 100644 --- a/wcfsetup/install/files/lib/data/option/Option.class.php +++ b/wcfsetup/install/files/lib/data/option/Option.class.php @@ -9,7 +9,7 @@ use wcf\util\StringUtil; * Represents an option. * * @author Alexander Ebert - * @copyright 2001-2012 WoltLab GmbH + * @copyright 2001-2013 WoltLab GmbH * @license GNU Lesser General Public License * @package com.woltlab.wcf * @subpackage data.option @@ -153,7 +153,7 @@ class Option extends DatabaseObject { } /** - * Returns true, if option is visible + * Returns true if option is visible * * @return boolean */ diff --git a/wcfsetup/install/files/lib/data/package/Package.class.php b/wcfsetup/install/files/lib/data/package/Package.class.php index 17d7e30bb0..d53604782e 100644 --- a/wcfsetup/install/files/lib/data/package/Package.class.php +++ b/wcfsetup/install/files/lib/data/package/Package.class.php @@ -66,7 +66,7 @@ class Package extends DatabaseObject { protected static $requirements = null; /** - * Returns true, if this package is required by other packages. + * Returns true if this package is required by other packages. * * @return boolean */ @@ -139,7 +139,7 @@ class Package extends DatabaseObject { } /** - * Returns true, if current user can uninstall this package. + * Returns true if current user can uninstall this package. * * @return boolean */ @@ -208,7 +208,7 @@ class Package extends DatabaseObject { } /** - * Returns true, if package identified by $package is already installed. + * Returns true if package identified by $package is already installed. * * @param string $package * @return boolean @@ -245,7 +245,7 @@ class Package extends DatabaseObject { } /** - * Returns true, if package version is valid. + * Returns true if package version is valid. * * Examples of valid package versions: * 1.0.0 pl 3 diff --git a/wcfsetup/install/files/lib/data/page/menu/item/PageMenuItem.class.php b/wcfsetup/install/files/lib/data/page/menu/item/PageMenuItem.class.php index 5c472cf317..e3b4470ba5 100644 --- a/wcfsetup/install/files/lib/data/page/menu/item/PageMenuItem.class.php +++ b/wcfsetup/install/files/lib/data/page/menu/item/PageMenuItem.class.php @@ -11,7 +11,7 @@ use wcf\system\WCF; * Represents a page menu item. * * @author Alexander Ebert - * @copyright 2001-2012 WoltLab GmbH + * @copyright 2001-2013 WoltLab GmbH * @license GNU Lesser General Public License * @package com.woltlab.wcf * @subpackage data.page.menu.item @@ -70,7 +70,7 @@ class PageMenuItem extends ProcessibleDatabaseObject implements ITreeMenuItem { } /** - * Returns true, if current menu item may be set as landing page. + * Returns true if current menu item may be set as landing page. * * @return boolean */ @@ -99,7 +99,7 @@ class PageMenuItem extends ProcessibleDatabaseObject implements ITreeMenuItem { } /** - * Returns true, if this item can be deleted. + * Returns true if this item can be deleted. * * @return boolean */ @@ -108,7 +108,7 @@ class PageMenuItem extends ProcessibleDatabaseObject implements ITreeMenuItem { } /** - * Returns true, if this item can be disabled. + * Returns true if this item can be disabled. * * @return boolean */ diff --git a/wcfsetup/install/files/lib/data/user/User.class.php b/wcfsetup/install/files/lib/data/user/User.class.php index 4c586e4e8c..ef016d7fdf 100644 --- a/wcfsetup/install/files/lib/data/user/User.class.php +++ b/wcfsetup/install/files/lib/data/user/User.class.php @@ -81,7 +81,7 @@ final class User extends DatabaseObject implements IRESTfulResponse, IRouteContr } /** - * Returns true, if the given password is the correct password for this user. + * Returns true if the given password is the correct password for this user. * * @param string $password * @return boolean password correct @@ -121,7 +121,7 @@ final class User extends DatabaseObject implements IRESTfulResponse, IRouteContr } /** - * Returns true, if the given password hash from a cookie is the correct password for this user. + * Returns true if the given password hash from a cookie is the correct password for this user. * * @param string $passwordHash * @return boolean password correct @@ -309,7 +309,7 @@ final class User extends DatabaseObject implements IRESTfulResponse, IRouteContr } /** - * Returns true, if this user is marked. + * Returns true if this user is marked. * * @return boolean */ @@ -392,7 +392,7 @@ final class User extends DatabaseObject implements IRESTfulResponse, IRouteContr } /** - * Returns true, if the active user can edit this user. + * Returns true if the active user can edit this user. * * @return boolean */ diff --git a/wcfsetup/install/files/lib/data/user/group/UserGroup.class.php b/wcfsetup/install/files/lib/data/user/group/UserGroup.class.php index d5ed25616b..ed50757344 100644 --- a/wcfsetup/install/files/lib/data/user/group/UserGroup.class.php +++ b/wcfsetup/install/files/lib/data/user/group/UserGroup.class.php @@ -143,7 +143,7 @@ class UserGroup extends DatabaseObject { } /** - * Returns true, if the given user is member of the group. If no user is + * Returns true if the given user is member of the group. If no user is * given, the active user is used. * * @param wcf\data\user\User $user @@ -157,7 +157,7 @@ class UserGroup extends DatabaseObject { } /** - * Returns true, if the given groups are accessible for the active user. + * Returns true if the given groups are accessible for the active user. * * @param array $groupIDs * @return boolean @@ -224,7 +224,7 @@ class UserGroup extends DatabaseObject { } /** - * Returns true, if this group is accessible for the active user. + * Returns true if this group is accessible for the active user. * * @return boolean */ diff --git a/wcfsetup/install/files/lib/data/user/option/UserOption.class.php b/wcfsetup/install/files/lib/data/user/option/UserOption.class.php index 29d1fe54b1..421f7ab0eb 100644 --- a/wcfsetup/install/files/lib/data/user/option/UserOption.class.php +++ b/wcfsetup/install/files/lib/data/user/option/UserOption.class.php @@ -8,7 +8,7 @@ use wcf\system\WCF; * Represents a user option. * * @author Marcel Werk - * @copyright 2001-2012 WoltLab GmbH + * @copyright 2001-2013 WoltLab GmbH * @license GNU Lesser General Public License * @package com.woltlab.wcf * @subpackage data.user.option @@ -138,7 +138,7 @@ class UserOption extends Option { } /** - * Returns true, if this option is editable. + * Returns true if this option is editable. * * @return boolean */ diff --git a/wcfsetup/install/files/lib/page/MultipleLinkPage.class.php b/wcfsetup/install/files/lib/page/MultipleLinkPage.class.php index d109e41184..51b0fae307 100644 --- a/wcfsetup/install/files/lib/page/MultipleLinkPage.class.php +++ b/wcfsetup/install/files/lib/page/MultipleLinkPage.class.php @@ -10,7 +10,7 @@ use wcf\util\ClassUtil; * Handles the page number parameter automatically. * * @author Marcel Werk - * @copyright 2001-2012 WoltLab GmbH + * @copyright 2001-2013 WoltLab GmbH * @license GNU Lesser General Public License * @package com.woltlab.wcf * @subpackage page @@ -184,7 +184,7 @@ abstract class MultipleLinkPage extends AbstractPage { } /** - * Returns true, if current page is the first page. + * Returns true if current page is the first page. * * @return boolean */ @@ -193,7 +193,7 @@ abstract class MultipleLinkPage extends AbstractPage { } /** - * Returns true, if current page is the last page. + * Returns true if current page is the last page. * * @return boolean */ diff --git a/wcfsetup/install/files/lib/system/WCFSetup.class.php b/wcfsetup/install/files/lib/system/WCFSetup.class.php index 1d797d5833..9edd8463e1 100644 --- a/wcfsetup/install/files/lib/system/WCFSetup.class.php +++ b/wcfsetup/install/files/lib/system/WCFSetup.class.php @@ -406,7 +406,7 @@ class WCFSetup extends WCF { } /** - * Returns true, if memory_limit is set to at least 64 MB + * Returns true if memory_limit is set to at least 64 MB * * @return boolean */ diff --git a/wcfsetup/install/files/lib/system/application/ApplicationHandler.class.php b/wcfsetup/install/files/lib/system/application/ApplicationHandler.class.php index 3816dee286..da1ca994f3 100644 --- a/wcfsetup/install/files/lib/system/application/ApplicationHandler.class.php +++ b/wcfsetup/install/files/lib/system/application/ApplicationHandler.class.php @@ -139,7 +139,7 @@ class ApplicationHandler extends SingletonFactory { } /** - * Returns true, if given $url is an internal URL. + * Returns true if given $url is an internal URL. * * @param string $url * @return boolean diff --git a/wcfsetup/install/files/lib/system/application/IApplication.class.php b/wcfsetup/install/files/lib/system/application/IApplication.class.php index d6c88b052d..bda46bc009 100644 --- a/wcfsetup/install/files/lib/system/application/IApplication.class.php +++ b/wcfsetup/install/files/lib/system/application/IApplication.class.php @@ -5,7 +5,7 @@ namespace wcf\system\application; * Default interface for all applications for the community framework. * * @author Alexander Ebert - * @copyright 2001-2012 WoltLab GmbH + * @copyright 2001-2013 WoltLab GmbH * @license GNU Lesser General Public License * @package com.woltlab.wcf * @subpackage system.application @@ -18,7 +18,7 @@ interface IApplication { public function __run(); /** - * Returns true, if current application is treated as active and was invoked directly. + * Returns true if current application is treated as active and was invoked directly. * * @return boolean */ diff --git a/wcfsetup/install/files/lib/system/category/ICategoryType.class.php b/wcfsetup/install/files/lib/system/category/ICategoryType.class.php index 1c593cb92a..964dfa88cd 100644 --- a/wcfsetup/install/files/lib/system/category/ICategoryType.class.php +++ b/wcfsetup/install/files/lib/system/category/ICategoryType.class.php @@ -6,7 +6,7 @@ use wcf\data\category\CategoryEditor; * Every category type has to implement this interface. * * @author Matthias Schmidt - * @copyright 2001-2012 WoltLab GmbH + * @copyright 2001-2013 WoltLab GmbH * @license GNU Lesser General Public License * @package com.woltlab.wcf * @subpackage system.category @@ -21,21 +21,21 @@ interface ICategoryType { public function afterDeletion(CategoryEditor $categoryEditor); /** - * Returns true, if the active user can add a category of this type. + * Returns true if the active user can add a category of this type. * * @return boolean */ public function canAddCategory(); /** - * Returns true, if the active user can delete a category of this type. + * Returns true if the active user can delete a category of this type. * * @return boolean */ public function canDeleteCategory(); /** - * Returns true, if the active user can edit a category of this type. + * Returns true if the active user can edit a category of this type. * * @return boolean */ diff --git a/wcfsetup/install/files/lib/system/database/Database.class.php b/wcfsetup/install/files/lib/system/database/Database.class.php index 343c90ab96..4228b8472c 100644 --- a/wcfsetup/install/files/lib/system/database/Database.class.php +++ b/wcfsetup/install/files/lib/system/database/Database.class.php @@ -5,7 +5,7 @@ namespace wcf\system\database; * Abstract implementation of a database access class using PDO. * * @author Marcel Werk - * @copyright 2001-2012 WoltLab GmbH + * @copyright 2001-2013 WoltLab GmbH * @license GNU Lesser General Public License * @package com.woltlab.wcf * @subpackage system.database @@ -316,7 +316,7 @@ abstract class Database { } /** - * Returns true, if this database type is supported. + * Returns true if this database type is supported. * * @return boolean */ diff --git a/wcfsetup/install/files/lib/system/io/Tar.class.php b/wcfsetup/install/files/lib/system/io/Tar.class.php index 4fac137f24..123855907c 100644 --- a/wcfsetup/install/files/lib/system/io/Tar.class.php +++ b/wcfsetup/install/files/lib/system/io/Tar.class.php @@ -15,7 +15,7 @@ use wcf\util\FileUtil; * } * * @author Marcel Werk - * @copyright 2001-2012 WoltLab GmbH + * @copyright 2001-2013 WoltLab GmbH * @license GNU Lesser General Public License * @package com.woltlab.wcf * @subpackage system.io @@ -340,7 +340,7 @@ class Tar implements IArchive { } /** - * Returns true, if this tar is (g)zipped. + * Returns true if this tar is (g)zipped. * * @return boolean */ diff --git a/wcfsetup/install/files/lib/system/language/I18nHandler.class.php b/wcfsetup/install/files/lib/system/language/I18nHandler.class.php index c9b52ab00a..9a612c849d 100644 --- a/wcfsetup/install/files/lib/system/language/I18nHandler.class.php +++ b/wcfsetup/install/files/lib/system/language/I18nHandler.class.php @@ -12,7 +12,7 @@ use wcf\util\StringUtil; * Provides internationalization support for input fields. * * @author Alexander Ebert - * @copyright 2001-2011 WoltLab GmbH + * @copyright 2001-2013 WoltLab GmbH * @license GNU Lesser General Public License * @package com.woltlab.wcf * @subpackage system.language @@ -110,7 +110,7 @@ class I18nHandler extends SingletonFactory { } /** - * Returns true, if given element has disabled i18n functionality. + * Returns true if given element has disabled i18n functionality. * * @param string elementID * @return boolean @@ -124,7 +124,7 @@ class I18nHandler extends SingletonFactory { } /** - * Returns true, if given element has enabled i18n functionality. + * Returns true if given element has enabled i18n functionality. */ public function hasI18nValues($elementID) { if (isset($this->i18nValues[$elementID])) { @@ -212,7 +212,7 @@ class I18nHandler extends SingletonFactory { } /** - * Returns false, if element value is not empty. + * Returns true if the value with the given id is valid. * * @param string $elementID * @param boolean $requireI18n @@ -446,7 +446,7 @@ class I18nHandler extends SingletonFactory { } /** - * Returns true, if given string equals a language variable. + * Returns true if given string equals a language variable. * * @param string $string * @return boolean diff --git a/wcfsetup/install/files/lib/system/option/IOptionType.class.php b/wcfsetup/install/files/lib/system/option/IOptionType.class.php index 7ec9d10acc..d1fe2b949b 100644 --- a/wcfsetup/install/files/lib/system/option/IOptionType.class.php +++ b/wcfsetup/install/files/lib/system/option/IOptionType.class.php @@ -6,7 +6,7 @@ use wcf\data\option\Option; * Any option type has to implement this interface. * * @author Marcel Werk - * @copyright 2001-2012 WoltLab GmbH + * @copyright 2001-2013 WoltLab GmbH * @license GNU Lesser General Public License * @package com.woltlab.wcf * @subpackage system.option @@ -50,7 +50,7 @@ interface IOptionType { public function getCSSClassName(); /** - * Returns true, if options supports internationalization . + * Returns true if options supports internationalization . * * @return boolean */ diff --git a/wcfsetup/install/files/lib/system/option/user/group/BooleanUserGroupOptionType.class.php b/wcfsetup/install/files/lib/system/option/user/group/BooleanUserGroupOptionType.class.php index 2db22d68a8..453f886059 100644 --- a/wcfsetup/install/files/lib/system/option/user/group/BooleanUserGroupOptionType.class.php +++ b/wcfsetup/install/files/lib/system/option/user/group/BooleanUserGroupOptionType.class.php @@ -5,7 +5,7 @@ use wcf\system\option\BooleanOptionType; /** * User group option type implementation for boolean values. * - * The merge of option values returns true, if at least one value is true. + * The merge of option values returns true if at least one value is true. * * @author Marcel Werk * @copyright 2001-2012 WoltLab GmbH diff --git a/wcfsetup/install/files/lib/system/option/user/group/InfiniteIntegerUserGroupOptionType.class.php b/wcfsetup/install/files/lib/system/option/user/group/InfiniteIntegerUserGroupOptionType.class.php index 3b584b41c1..a3527c36ab 100644 --- a/wcfsetup/install/files/lib/system/option/user/group/InfiniteIntegerUserGroupOptionType.class.php +++ b/wcfsetup/install/files/lib/system/option/user/group/InfiniteIntegerUserGroupOptionType.class.php @@ -5,7 +5,7 @@ namespace wcf\system\option\user\group; * User group option type implementation for integer input fields with an option * for an infinite value. * - * The merge of option values returns true, if at least one value is -1. Otherwise + * The merge of option values returns true if at least one value is -1. Otherwise * it returns the highest value. * * @author Marcel Werk diff --git a/wcfsetup/install/files/lib/system/package/PackageArchive.class.php b/wcfsetup/install/files/lib/system/package/PackageArchive.class.php index e8dce442b3..22619bc15f 100644 --- a/wcfsetup/install/files/lib/system/package/PackageArchive.class.php +++ b/wcfsetup/install/files/lib/system/package/PackageArchive.class.php @@ -387,7 +387,7 @@ class PackageArchive { } /** - * Return true, if the package archive supports a new installation. + * Returns true if the package archive supports a new installation. * * @return boolean */ diff --git a/wcfsetup/install/files/lib/system/package/plugin/IPackageInstallationPlugin.class.php b/wcfsetup/install/files/lib/system/package/plugin/IPackageInstallationPlugin.class.php index e6305a8183..aad58dfcf9 100644 --- a/wcfsetup/install/files/lib/system/package/plugin/IPackageInstallationPlugin.class.php +++ b/wcfsetup/install/files/lib/system/package/plugin/IPackageInstallationPlugin.class.php @@ -5,7 +5,7 @@ namespace wcf\system\package\plugin; * Every PackageInstallationPlugin has to implement this interface. * * @author Marcel Werk - * @copyright 2001-2012 WoltLab GmbH + * @copyright 2001-2013 WoltLab GmbH * @license GNU Lesser General Public License * @package com.woltlab.wcf * @subpackage system.package.plugin @@ -23,7 +23,7 @@ interface IPackageInstallationPlugin { public function update(); /** - * Returns true, if the uninstallation of the given package should execute + * Returns true if the uninstallation of the given package should execute * this plugin. * * @return boolean diff --git a/wcfsetup/install/files/lib/system/request/Request.class.php b/wcfsetup/install/files/lib/system/request/Request.class.php index 420a48e918..e0c2eadbd1 100644 --- a/wcfsetup/install/files/lib/system/request/Request.class.php +++ b/wcfsetup/install/files/lib/system/request/Request.class.php @@ -5,7 +5,7 @@ namespace wcf\system\request; * Represents a page request. * * @author Marcel Werk - * @copyright 2001-2012 WoltLab GmbH + * @copyright 2001-2013 WoltLab GmbH * @license GNU Lesser General Public License * @package com.woltlab.wcf * @subpackage system.request @@ -60,7 +60,7 @@ class Request { } /** - * Returns true, if this request has already been executed. + * Returns true if this request has already been executed. * * @return boolean */ @@ -105,7 +105,7 @@ class Request { } /** - * Returns true, if the requested page is avaiable during the offline mode. + * Returns true if the requested page is avaiable during the offline mode. * * @return boolean */ diff --git a/wcfsetup/install/files/lib/system/request/Route.class.php b/wcfsetup/install/files/lib/system/request/Route.class.php index 91847511b5..0ce594bb96 100644 --- a/wcfsetup/install/files/lib/system/request/Route.class.php +++ b/wcfsetup/install/files/lib/system/request/Route.class.php @@ -10,7 +10,7 @@ use wcf\system\menu\page\PageMenu; * the Microsoft Public License (MS-PL) http://www.opensource.org/licenses/ms-pl.html * * @author Alexander Ebert - * @copyright 2001-2012 WoltLab GmbH + * @copyright 2001-2013 WoltLab GmbH * @license GNU Lesser General Public License * @package com.woltlab.wcf * @subpackage system.request @@ -120,7 +120,7 @@ class Route { } /** - * Returns true, if given request url matches this route. + * Returns true if given request url matches this route. * * @param string $requestURL * @return boolean diff --git a/wcfsetup/install/files/lib/system/request/RouteHandler.class.php b/wcfsetup/install/files/lib/system/request/RouteHandler.class.php index 1064bb1c0f..c19297727d 100644 --- a/wcfsetup/install/files/lib/system/request/RouteHandler.class.php +++ b/wcfsetup/install/files/lib/system/request/RouteHandler.class.php @@ -12,7 +12,7 @@ use wcf\util\FileUtil; * the Microsoft Public License (MS-PL) http://www.opensource.org/licenses/ms-pl.html * * @author Alexander Ebert - * @copyright 2001-2012 WoltLab GmbH + * @copyright 2001-2013 WoltLab GmbH * @license GNU Lesser General Public License * @package com.woltlab.wcf * @subpackage system.request @@ -109,7 +109,7 @@ class RouteHandler extends SingletonFactory { } /** - * Returns true, if a route matches. Please bear in mind, that the + * Returns true if a route matches. Please bear in mind, that the * first route which is able to consume all path components is used, * even if other routes may fit better. Route order is crucial! * @@ -138,7 +138,7 @@ class RouteHandler extends SingletonFactory { } /** - * Returns true, if route uses default controller. + * Returns true if route uses default controller. * * @return boolean */ @@ -187,7 +187,7 @@ class RouteHandler extends SingletonFactory { } /** - * Returns true, if this is a secure connection. + * Returns true if this is a secure connection. * * @return true */ diff --git a/wcfsetup/install/files/lib/system/search/acp/AbstractCategorizedACPSearchResultProvider.class.php b/wcfsetup/install/files/lib/system/search/acp/AbstractCategorizedACPSearchResultProvider.class.php index f7e7a6b229..2656c2e492 100644 --- a/wcfsetup/install/files/lib/system/search/acp/AbstractCategorizedACPSearchResultProvider.class.php +++ b/wcfsetup/install/files/lib/system/search/acp/AbstractCategorizedACPSearchResultProvider.class.php @@ -7,7 +7,7 @@ use wcf\util\ClassUtil; * Abstract implementation of a ACP search result provider with nested categories. * * @author Alexander Ebert - * @copyright 2001-2012 WoltLab GmbH + * @copyright 2001-2013 WoltLab GmbH * @license GNU Lesser General Public License * @package com.woltlab.wcf * @subpackage system.search.acp @@ -122,7 +122,7 @@ abstract class AbstractCategorizedACPSearchResultProvider extends AbstractACPSea } /** - * Returns true, if given category is valid and accessible. + * Returns true if given category is valid and accessible. * * @param string $categoryName * @return boolean diff --git a/wcfsetup/install/files/lib/system/user/authentication/IUserAuthentication.class.php b/wcfsetup/install/files/lib/system/user/authentication/IUserAuthentication.class.php index 6af7bc2230..d626f05011 100644 --- a/wcfsetup/install/files/lib/system/user/authentication/IUserAuthentication.class.php +++ b/wcfsetup/install/files/lib/system/user/authentication/IUserAuthentication.class.php @@ -6,7 +6,7 @@ use wcf\data\user\User; * Every user authentication has to implement this interface. * * @author Marcel Werk - * @copyright 2001-2012 WoltLab GmbH + * @copyright 2001-2013 WoltLab GmbH * @license GNU Lesser General Public License * @package com.woltlab.wcf * @subpackage system.user.authentication @@ -21,7 +21,7 @@ interface IUserAuthentication { public static function getInstance(); /** - * Returns true, if this authentication supports persistent logins. + * Returns true if this authentication supports persistent logins. * * @return boolean */ diff --git a/wcfsetup/install/files/lib/util/FileUtil.class.php b/wcfsetup/install/files/lib/util/FileUtil.class.php index c282a4af78..c1e2ceb57a 100644 --- a/wcfsetup/install/files/lib/util/FileUtil.class.php +++ b/wcfsetup/install/files/lib/util/FileUtil.class.php @@ -8,7 +8,7 @@ use wcf\system\io\GZipFile; * Contains file-related functions. * * @author Marcel Werk - * @copyright 2001-2012 WoltLab GmbH + * @copyright 2001-2013 WoltLab GmbH * @license GNU Lesser General Public License * @package com.woltlab.wcf * @subpackage util @@ -276,7 +276,7 @@ final class FileUtil { } /** - * Return true, if the given filename is an url (http or ftp). + * Returns true if the given filename is an url (http or ftp). * * @param string $filename * @return boolean @@ -539,7 +539,7 @@ final class FileUtil { } /** - * Returns true, if php is running as apache module. + * Returns true if php is running as apache module. * * @return boolean */ diff --git a/wcfsetup/install/files/lib/util/ImageUtil.class.php b/wcfsetup/install/files/lib/util/ImageUtil.class.php index 4efe2b6f2e..1ac0f9e1a1 100644 --- a/wcfsetup/install/files/lib/util/ImageUtil.class.php +++ b/wcfsetup/install/files/lib/util/ImageUtil.class.php @@ -13,11 +13,10 @@ namespace wcf\util; */ final class ImageUtil { /** - * Checks the content of an image for bad sections. - * e.g. the use of javascript. - * Returns false, if any bad stuff was found. + * Checks the content of an image for bad sections, e.g. the use of javascript + * and returns false if any bad stuff was found. * - * @return boolean + * @return boolean */ public static function checkImageContent($file) { // get file content diff --git a/wcfsetup/install/files/lib/util/PasswordUtil.class.php b/wcfsetup/install/files/lib/util/PasswordUtil.class.php index 111c73e094..3fad64929c 100644 --- a/wcfsetup/install/files/lib/util/PasswordUtil.class.php +++ b/wcfsetup/install/files/lib/util/PasswordUtil.class.php @@ -52,7 +52,7 @@ final class PasswordUtil { const BCRYPT_TYPE = '2a'; /** - * Returns true, if given encryption type is supported. + * Returns true if given encryption type is supported. * * @param string $type * @return boolean @@ -62,7 +62,7 @@ final class PasswordUtil { } /** - * Returns true, if given hash looks like a valid bcrypt hash. + * Returns true if given hash looks like a valid bcrypt hash. * * @param string $hash * @return boolean @@ -72,7 +72,7 @@ final class PasswordUtil { } /** - * Returns true, if given bcrypt hash uses a different cost factor and should be re-computed. + * Returns true if given bcrypt hash uses a different cost factor and should be re-computed. * * @param string $hash * @return boolean diff --git a/wcfsetup/install/files/lib/util/StringUtil.class.php b/wcfsetup/install/files/lib/util/StringUtil.class.php index 3b4c0611cc..e4e909a5b6 100644 --- a/wcfsetup/install/files/lib/util/StringUtil.class.php +++ b/wcfsetup/install/files/lib/util/StringUtil.class.php @@ -7,7 +7,7 @@ use wcf\system\WCF; * Contains string-related functions. * * @author Oliver Kliebisch, Marcel Werk - * @copyright 2001-2012 WoltLab GmbH + * @copyright 2001-2013 WoltLab GmbH * @license GNU Lesser General Public License * @package com.woltlab.wcf * @subpackage util @@ -416,7 +416,7 @@ final class StringUtil { } /** - * Returns true, if the given string contains only ASCII characters. + * Returns true if the given string contains only ASCII characters. * * @param string $string * @return boolean @@ -426,7 +426,7 @@ final class StringUtil { } /** - * Returns true, if the given string is utf-8 encoded. + * Returns true if the given string is utf-8 encoded. * @see http://www.w3.org/International/questions/qa-forms-utf-8 * * @param string $string @@ -492,7 +492,7 @@ final class StringUtil { } /** - * Returns false, if the given word is forbidden by given word filter. + * Returns false if the given word is forbidden by given word filter. * * @param string $word * @param string $filter diff --git a/wcfsetup/install/files/lib/util/UserUtil.class.php b/wcfsetup/install/files/lib/util/UserUtil.class.php index afabc2b21e..327707048b 100644 --- a/wcfsetup/install/files/lib/util/UserUtil.class.php +++ b/wcfsetup/install/files/lib/util/UserUtil.class.php @@ -6,7 +6,7 @@ use wcf\system\WCF; * Contains user-related functions. * * @author Marcel Werk - * @copyright 2001-2012 WoltLab GmbH + * @copyright 2001-2013 WoltLab GmbH * @license GNU Lesser General Public License * @package com.woltlab.wcf * @subpackage util @@ -14,7 +14,7 @@ use wcf\system\WCF; */ final class UserUtil { /** - * Returns true, if the given name is a valid username. + * Returns true if the given name is a valid username. * * @param string $name * @return boolean @@ -35,7 +35,7 @@ final class UserUtil { } /** - * Returns true, if the given username is available. + * Returns true if the given username is available. * * @param string $name * @return boolean @@ -51,7 +51,7 @@ final class UserUtil { } /** - * Returns true, if the given e-mail is a valid address. + * Returns true if the given e-mail is a valid address. * @see http://www.faqs.org/rfcs/rfc821.html * * @param string $email @@ -74,7 +74,7 @@ final class UserUtil { } /** - * Returns true, if the given email address is available. + * Returns true if the given email address is available. * * @param string $email * @return boolean -- 2.20.1