X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Foracle%2FalterSharedConstraints.php;h=7f997cb6afb7e2c32a26a21846e29945a8d9d1dd;hb=dbdbeb7af2a7f0ee00bdc4dfc1297edf0405a8fd;hp=48c3d375116db9206531f78c594c9809af20bb7c;hpb=2d71bf187d5a56ed808a5ae3845d14e51008f195;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/oracle/alterSharedConstraints.php b/maintenance/oracle/alterSharedConstraints.php index 48c3d37511..7f997cb6af 100644 --- a/maintenance/oracle/alterSharedConstraints.php +++ b/maintenance/oracle/alterSharedConstraints.php @@ -67,8 +67,8 @@ class AlterSharedConstraints extends Maintenance { AND ucc.constraint_name = uc.constraint_name AND uccpk.constraint_name = uc.r_constraint_name AND uccpk.table_name = '$ltable'" ); - while ( ( $row = $result->fetchRow() ) !== false ) { + while ( ( $row = $result->fetchRow() ) !== false ) { $this->output( "Altering {$row['constraint_name']} ..." ); try { @@ -93,5 +93,5 @@ class AlterSharedConstraints extends Maintenance { } } -$maintClass = "AlterSharedConstraints"; +$maintClass = AlterSharedConstraints::class; require_once RUN_MAINTENANCE_IF_MAIN;