信呼OA版本v2.3.8
This commit is contained in:
16
webmain/model/agent/userModel.php
Normal file
16
webmain/model/agent/userModel.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
/**
|
||||
通讯录显示用户模块的
|
||||
*/
|
||||
class agent_userClassModel extends agentModel
|
||||
{
|
||||
|
||||
protected function agentrows($rows, $rowd, $uid){
|
||||
foreach($rowd as $k=>$rs){
|
||||
unset($rows[$k]['id']);
|
||||
if($this->agentnum=='vcard')unset($rows[$k]['uid']);//个人通讯录不要头像
|
||||
}
|
||||
return $rows;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user