* change init lang of svn and git to common.

This commit is contained in:
wangyidong
2019-01-18 10:33:06 +08:00
parent 28f014d766
commit 91bb4a4ae2
5 changed files with 5 additions and 3 deletions
+1
View File
@@ -0,0 +1 @@
ALTER TABLE `zt_release` CHANGE `name` `name` varchar(255) COLLATE 'utf8_general_ci' NOT NULL DEFAULT '' AFTER `build`;
+3
View File
@@ -335,6 +335,9 @@ $lang->doc = new stdclass();
$lang->doc->menu = new stdclass();
//$lang->doc->menu->createLib = array('link' => '<i class="icon icon-folder-plus"></i>&nbsp;添加文件夹|doc|createLib', 'float' => 'right');
$lang->svn = new stdclass();
$lang->git = new stdclass();
/* 统计视图菜单设置。*/
$lang->report = new stdclass();
$lang->report->menu = new stdclass();
-1
View File
@@ -10,7 +10,6 @@
* @link http://www.zentao.net
*/
/* 方法列表。*/
$lang->git = new stdclass();
$lang->git->common = 'Git';
$lang->git->cat = '查看源代码';
$lang->git->diff = '比较源代码';
-1
View File
@@ -10,7 +10,6 @@
* @link http://www.zentao.net
*/
/* 方法列表。*/
$lang->svn = new stdclass();
$lang->svn->common = 'Subversion';
$lang->svn->cat = '查看源代码';
$lang->svn->diff = '比较源代码';
+1 -1
View File
@@ -336,7 +336,7 @@ class userModel extends model
$group = new stdClass();
$group->account = $user->account;
$group->group = $user->group;
$this->dao->insert(TABLE_USERGROUP)->data($group)->exec();
$this->dao->replace(TABLE_USERGROUP)->data($group)->exec();
}
unset($user->group);
$this->dao->insert(TABLE_USER)->data($user)->autoCheck()->exec();