dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow reset of global services (redux).
[lhc/web/wiklou.git]
/
includes
/
db
/
DatabaseUtility.php
diff --git
a/includes/db/DatabaseUtility.php
b/includes/db/DatabaseUtility.php
index
7fcb68e
..
b6c37ee
100644
(file)
--- a/
includes/db/DatabaseUtility.php
+++ b/
includes/db/DatabaseUtility.php
@@
-210,7
+210,7
@@
class ResultWrapper implements Iterator {
*/
class FakeResultWrapper extends ResultWrapper {
/** @var array */
*/
class FakeResultWrapper extends ResultWrapper {
/** @var array */
- public $result =
array()
;
+ public $result =
[]
;
/** @var null And it's going to stay that way :D */
protected $db = null;
/** @var null And it's going to stay that way :D */
protected $db = null;
@@
-332,6
+332,13
@@
interface DBMasterPos {
*/
public function hasReached( DBMasterPos $pos );
*/
public function hasReached( DBMasterPos $pos );
+ /**
+ * @param DBMasterPos $pos
+ * @return bool Whether this position appears to be for the same channel as another
+ * @since 1.27
+ */
+ public function channelsMatch( DBMasterPos $pos );
+
/**
* @return string
* @since 1.27
/**
* @return string
* @since 1.27