1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-06 23:55:26 +02:00

Merge remote-tracking branch 'bantu/ticket/10263' into develop-olympus

* bantu/ticket/10263:
  [ticket/10263] Fix comment about return value of phpbb_version_compare().
This commit is contained in:
Andreas Fischer 2011-07-30 16:43:37 +02:00
commit bd2fd4ec1d

View File

@ -629,8 +629,8 @@ function phpbb_email_hash($email)
* @param string $version2 Second version number * @param string $version2 Second version number
* @param string $operator Comparison operator (optional) * @param string $operator Comparison operator (optional)
* *
* @return mixed Integer (-1, 0, 1) if comparison operator is specified. * @return mixed Boolean (true, false) if comparison operator is specified.
* Boolean (true, false) otherwise. * Integer (-1, 0, 1) otherwise.
*/ */
function phpbb_version_compare($version1, $version2, $operator = null) function phpbb_version_compare($version1, $version2, $operator = null)
{ {