dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
1a83799
)
Merge "Added deprecation comment to constant that when used throws deprecation exception"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Sat, 9 Feb 2013 21:47:23 +0000
(21:47 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Sat, 9 Feb 2013 21:47:23 +0000
(21:47 +0000)
includes/Defines.php
patch
|
blob
|
history
diff --git
a/includes/Defines.php
b/includes/Defines.php
index
46b0947
..
46a3773
100644
(file)
--- a/
includes/Defines.php
+++ b/
includes/Defines.php
@@
-54,12
+54,12
@@
define( 'DBO_COMPRESS', 512 );
*/
define( 'DB_SLAVE', -1 ); # Read from the slave (or only server)
define( 'DB_MASTER', -2 ); # Write to master (or only server)
-define( 'DB_LAST', -3 ); # Whatever database was used last
/**@}*/
# Obsolete aliases
define( 'DB_READ', -1 );
define( 'DB_WRITE', -2 );
+define( 'DB_LAST', -3 ); # deprecated since 2008, usage throws exception
/**@{