Skip to content

Instantly share code, notes, and snippets.

PHPUnit 3.7.24 by Sebastian Bergmann.
Configuration read from /var/www/phpbb/phpunit.xml.dist
............................................................. 61 / 2358 ( 2%)
.......................I.....SSSS.......SSSS................. 122 / 2358 ( 5%)
............................................................. 183 / 2358 ( 7%)
............................................................. 244 / 2358 ( 10%)
............................................................. 305 / 2358 ( 12%)
............................................................. 366 / 2358 ( 15%)
+ public function effectively_installed()
+ {
+ $sql = 'SELECT module_id
+ FROM ' . MODULES_TABLE . "
+ WHERE module_class = 'acp'
array(
1,
'H3110',
'[0-9]+',
'FIELD_INVALID_CHARS_NUMBERS_ONLY-field',
'Required field should reject characters in a numbers-only field',
),
<?php
/**
*
* @package testing
* @copyright (c) 2014 phpBB Group
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
*
*/
require_once dirname(__FILE__) . '/../../phpBB/includes/functions.php';
diff --git a/phpBB/install/schemas/firebird_schema.sql b/phpBB/install/schemas/firebird_schema.sql
index 48f657f..fab3abf 100644
--- a/phpBB/install/schemas/firebird_schema.sql
+++ b/phpBB/install/schemas/firebird_schema.sql
@@ -361,7 +361,7 @@ CREATE TABLE phpbb_forums (
forum_desc_options INTEGER DEFAULT 7 NOT NULL,
forum_desc_uid VARCHAR(8) CHARACTER SET NONE DEFAULT '' NOT NULL,
forum_link VARCHAR(255) CHARACTER SET UTF8 DEFAULT '' NOT NULL COLLATE UNICODE,
- forum_password VARCHAR(255) CHARACTER SET NONE DEFAULT '' NOT NULL,
+ forum_password VARCHAR(255) CHARACTER SET UTF8 DEFAULT '' NOT NULL COLLATE UNICODE,
diff --git a/lib/public/share.php b/lib/public/share.php
index 5066d40..7599a26 100644
--- a/lib/public/share.php
+++ b/lib/public/share.php
@@ -147,7 +147,7 @@ class Share {
*/
public static function getUsersSharingFile($path, $user, $includeOwner = false) {
- $shares = array();
+ $shares = $shares_mapped = array();
diff --git a/activity/lib/hooks.php b/activity/lib/hooks.php
index 3e21435..4447904 100755
--- a/activity/lib/hooks.php
+++ b/activity/lib/hooks.php
@@ -66,14 +66,17 @@ class Hooks {
* @param array $params The hook params
*/
public static function file_write($params) {
+ $l = \OCP\Util::getL10N('activity');
commit bdc08a3fcd9f89168b1d65895714354437b7c1ee
Author: Joas Schilling <nickvergessen@gmx.de>
Date: Wed Apr 2 00:17:39 2014 +0200
[ticket/8700] Remove unused language strings
Most of the strings were obsoleted by the removal of:
* Imagesets
* Themes
* Templates
E:\Develop\develop>phpBB\vendor\bin\phpunit.bat E:\Develop\olympus\tests\functio
ns_content\get_username_string_test.php
PHPUnit 3.7.24 by Sebastian Bergmann.
Configuration read from E:\Develop\develop\phpunit.xml.dist
Fatal error: Call to a member function trigger_event() on a non-object in E:\Dev
elop\olympus\phpBB\includes\functions.php on line 2028
<!-- DEFINE $CURRENT_POST_ROW = '{postrow.S_ROW_COUNT}' -->
<!-- BEGIN postrow -->
<!-- IF $CURRENT_POST_ROW == postrow.S_ROW_COUNT -->
<!-- BEGIN post_message_after -->
<div class="panel">
<div class="inner">{postrow.post_message_after.MESSAGE}</div>
</div>
<hr class="divider" />