diff --git a/module/upgrade/model.php b/module/upgrade/model.php index 4d9e721c4a..a5094c9664 100644 --- a/module/upgrade/model.php +++ b/module/upgrade/model.php @@ -1901,4 +1901,21 @@ class upgradeModel extends model return true; } + + /** + * Change limited name. + * + * @access public + * @return bool + */ + public function changeLimitedName() + { + $this->app->loadLang('install'); + $this->dao->update(TABLE_GROUP)->set('name')->eq($this->lang->install->groupList['LIMITED']['name']) + ->set('desc')->eq($this->lang->install->groupList['LIMITED']['desc']) + ->where('role')->eq('limited') + ->exec(); + + return true; + } }