dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71b560d
)
Use __construct syntax instead of PHP4 syntax. Someone said it was causing problems...
author
Aryeh Gregor
<simetrical@users.mediawiki.org>
Mon, 4 Jun 2007 22:26:15 +0000
(22:26 +0000)
committer
Aryeh Gregor
<simetrical@users.mediawiki.org>
Mon, 4 Jun 2007 22:26:15 +0000
(22:26 +0000)
(This is too trivial for RELEASE-NOTES.)
includes/BagOStuff.php
patch
|
blob
|
history
diff --git
a/includes/BagOStuff.php
b/includes/BagOStuff.php
index
2a04b9d
..
5469bef
100644
(file)
--- a/
includes/BagOStuff.php
+++ b/
includes/BagOStuff.php
@@
-172,7
+172,7
@@
class HashBagOStuff extends BagOStuff {
*/
var $bag;
- function
HashBagOStuff
() {
+ function
__construct
() {
$this->bag = array();
}
@@
-222,7
+222,7
@@
abstract class SqlBagOStuff extends BagOStuff {
var $table;
var $lastexpireall = 0;
- function
SqlBagOStuff
($tablename = 'objectcache') {
+ function
__construct
($tablename = 'objectcache') {
$this->table = $tablename;
}