** 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

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to