Commit 78559e50812e197adeb94e3d56988b4dade0c2b4

Authored by conradverm
1 parent c421c016

KTS-1687

"Double quote to single quote conversion"
Fixed.
Reviewed by: Kevin Fourie

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@6234 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 4 additions and 4 deletions
bin/automated_upgrade.php
@@ -64,13 +64,13 @@ foreach ($upgrades as $step) { @@ -64,13 +64,13 @@ foreach ($upgrades as $step) {
64 continue; 64 continue;
65 } 65 }
66 $res = $step->performUpgrade(); 66 $res = $step->performUpgrade();
67 - print " RESULT: "; 67 + print ' RESULT: ';
68 if ($res === true) { 68 if ($res === true) {
69 - print "Success"; 69 + print 'Success';
70 } 70 }
71 if (PEAR::isError($res)) { 71 if (PEAR::isError($res)) {
72 - if (is_a($res, strtolower("Upgrade_Already_Applied"))) {  
73 - print "Already applied"; 72 + if (is_a($res, strtolower('Upgrade_Already_Applied'))) {
  73 + print 'Already applied';
74 } else { 74 } else {
75 print "ERROR\n"; 75 print "ERROR\n";
76 print $res->toString(); 76 print $res->toString();