Skip to content

Instantly share code, notes, and snippets.

View dmpatierno's full-sized avatar

David Patierno dmpatierno

View GitHub Profile
@@ -820,72 +905,19 @@
*/
public function rearrangeSteps($moves) {
- $db = GuideDB::db();
- $guideid = $this->guideid;
- $langid = $this->langid;
-
- // Get the stepids that correspond with the orderbys, so that we can use
- // something unique to reference steps by.
- $q_stepids = <<<EOT