Page MenuHomeDevCentral

Use modern Keruald Database method names
ClosedPublic

Authored by dereckson on Mon, Oct 20, 17:00.
Tags
None
Referenced Files
F12343241: D3783.id9800.diff
Mon, Oct 27, 00:51
Unknown Object (File)
Fri, Oct 24, 22:23
Unknown Object (File)
Fri, Oct 24, 17:38
Unknown Object (File)
Fri, Oct 24, 17:24
Unknown Object (File)
Fri, Oct 24, 09:25
Unknown Object (File)
Fri, Oct 24, 03:00
Unknown Object (File)
Thu, Oct 23, 08:22
Unknown Object (File)
Thu, Oct 23, 06:07
Subscribers
None

Details

Summary

Keruald Database 0.5.2 allows to use $db->error()
in abstract code, not only in MySQLi engine.

Diff Detail

Repository
rOBSIDIAN Obsidian Workspaces
Lint
No Lint Coverage
Unit
No Test Coverage
Branch
obsidian-legacy-methods
Build Status
Buildable 6057
Build 6341: arc lint + arc unit

Event Timeline

dereckson created this revision.

Making of

#!/bin/sh

find workspaces/src -name '*.php' | xargs gsed -i 's/$db->sql_query_express/$db->queryScalar/g'
find workspaces/src -name '*.php' | xargs gsed -i 's/$db->sql_query/$db->query/g'
find workspaces/src -name '*.php' | xargs gsed -i 's/$db->sql_escape/$db->escape/g'
find workspaces/src -name '*.php' | xargs gsed -i 's/$db->sql_fetchrow/$db->fetchRow/g'
find workspaces/src -name '*.php' | xargs gsed -i 's/$db->sql_nextid/$db->nextId/g'
This revision is now accepted and ready to land.Mon, Oct 20, 18:49
dereckson edited the summary of this revision. (Show Details)