Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (10 sloc) 311 Bytes
<?php
$this->on('admin.init', function() use($helpers) {
if (!empty($helpers['locked_entries_disabled'])) {
// delete all keys, that start with "locked:"
$keys = $this->memory->keys('locked:*');
if (!empty($keys)) {
$this->memory->del(...$keys);
}
}
});
You can’t perform that action at this time.