Reviewed: https://reviews.mahara.org/11731 Committed: https://git.mahara.org/mahara/mahara/commit/75170b3191c7dcf2fd964918b31048050677fcc4 Submitter: Robert Lyon ([email protected]) Branch: 21.04_STABLE
commit 75170b3191c7dcf2fd964918b31048050677fcc4 Author: Cecilia Vela Gurovic <[email protected]> Date: Tue Feb 16 15:37:17 2021 +1300 Bug 1926382: Portfolio locking missing code Change-Id: I7de1efc13696e4a92d4cd3410e908e201358016e (cherry picked from commit 10326d8c59e320c24d9011e47a21abf98be0557a) -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: mahara-contributors https://bugs.launchpad.net/bugs/1926382 Title: Portfolio locking - replace duplicate code with lock_collection Status in Mahara: In Progress Bug description: Replace duplicate code // Lock the collection if ($view->get_collection()) { $collectionid = $view->get_collection()->get('id'); execute_sql("UPDATE {collection} SET lock = 1 WHERE id = ?", array($collectionid)); } with the new function in lib/collection.php To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1926382/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp

