MDL-25500 lock: post integration trivial cleanup
authorSam Hemelryk <sam@moodle.com>
Wed, 29 Jan 2014 00:21:52 +0000 (13:21 +1300)
committerSam Hemelryk <sam@moodle.com>
Wed, 29 Jan 2014 00:22:16 +0000 (13:22 +1300)
commit34027f1563d9b59671e843348d7fb62884c130d2
tree897d48e713d751a0f61782459d6c0b835a819be7
parent453d66b782f01549fc0454678a6365eb7f09fce3
MDL-25500 lock: post integration trivial cleanup

* A couple of misc comment typo's
* Added missing $CFG required global in file_lock_factory::is_available
* Removed unused $CFG global from file_lock_factory::get_lock
* A couple of trivial phpdoc tweaks
* Removed unused $DB global from postgres_lock_factory::get_index_from_key
* Added global namespace \ to exceptions in get_index_from_key (tested and found they didn't resolve)
lib/classes/lock/db_record_lock_factory.php
lib/classes/lock/file_lock_factory.php
lib/classes/lock/lock.php
lib/classes/lock/lock_config.php
lib/classes/lock/lock_factory.php
lib/classes/lock/mysql_lock_factory.php
lib/classes/lock/postgres_lock_factory.php