mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #61815
[Bug 1926382] Re: Portfolio locking - replace duplicate code with lock_collection
** Changed in: mahara
Status: In Progress => Fix Committed
--
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:
Fix Committed
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