← Back to team overview

mahara-contributors team mailing list archive

[Bug 1926382] Re: Portfolio locking - replace duplicate code with lock_collection

 

** Changed in: mahara
       Status: Fix Committed => Fix Released

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

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