Database: Remove use of strencode() in replaceVars()
authorKevin Israel <pleasestand@live.com>
Wed, 18 Jun 2014 00:18:21 +0000 (20:18 -0400)
committerKevin Israel <pleasestand@live.com>
Wed, 3 Dec 2014 10:08:17 +0000 (05:08 -0500)
commitc8c102359682f1c59ea304d3865a984fa95dfafc
tree1eb709937e300516a73644598eb1daf47470d75b
parent2e2958d6d9107fcc479183eaf2dc86247f87072e
Database: Remove use of strencode() in replaceVars()

Almost all known uses of the /*$var*/ syntax are for either the
table prefix or table options, neither of which need string
encoding. Use of that syntax inside strings has been discouraged
for a while anyway.

This is to allow deprecating strencode().

Also changed the method to replace in one pass (to not find
variables inside values of other variables).

Change-Id: Ia697ce5f14082e737b3e1c4e174bd3f6223acc5c
RELEASE-NOTES-1.25
includes/db/Database.php