/branches/topic-dbsingleton/scripts/modules/maj-code-DB-access-201307.sh |
---|
41,3 → 41,9 |
# 489 substitutions: |
# sed -nE "s;\\\$this->($chaine)\(;Cel::db()->\1(;gp" $fichiers |
sed -i -E "s;\\\$this->($chaine)\(;Cel::db()->\1(;g" $fichiers |
# Troisième passe: substitution de $this->bdd->quote() |
# 25 substitutions |
fichiers_quote=$(grep -rl '$this->bdd->quote(' jrest/services) |
sed -i -E 's;\$this->bdd->quote\(;Cel::db()->quote(;g' $fichiers_quote |