Completed
Push — master ( f490c0...521ac8 )
by Nicolaas
03:24
created
code/model/process/OrderStep.php 1 patch
Doc Comments   +1 added lines, -25 removed lines patch added patch discarded remove patch
@@ -1318,28 +1318,4 @@
 block discarded – undo
1318 1318
         foreach ($steps as $step) {
1319 1319
             if (!$step->Description) {
1320 1320
                 $step->Description = $step->myDescription();
1321
-                $step->write();
1322
-            }
1323
-        }
1324
-    }
1325
-
1326
-    /**
1327
-     * returns the standard EcommerceDBConfig for use within OrderSteps.
1328
-     *
1329
-     * @return EcommerceDBConfig
1330
-     */
1331
-    protected function EcomConfig()
1332
-    {
1333
-        return EcommerceDBConfig::current_ecommerce_db_config();
1334
-    }
1335
-
1336
-    /**
1337
-     * Explains the current order step.
1338
-     *
1339
-     * @return string
1340
-     */
1341
-    protected function myDescription()
1342
-    {
1343
-        return _t('OrderStep.DESCRIPTION', 'No description has been provided for this step.');
1344
-    }
1345
-}
1321
+                $step->write
1346 1322
\ No newline at end of file
Please login to merge, or discard this patch.