compiling css + assigning user to new company in options (admin)
This commit is contained in:
1 parent
9b0d1d0cb9
commit
7fecaa602f
7 files changed
+28
-4202
No files matched your search
@@ -862,6 +862,13 @@ class Databap extends PhpObject
|
||||
|
||||
return $bExt?$this->getJsonPostResult($bSuccess, $sDesc):$iCompanyId;
|
||||
}
|
||||
|
||||
public function assignUser($iUserId, $iCompany, $bExt=true)
|
||||
{
|
||||
$iUserId = $this->oMySql->updateRow(self::USER_TABLE, $iUserId, array(MySqlManager::getId(self::COMP_TABLE)=>$iCompany));
|
||||
|
||||
return $bExt?$this->getJsonPostResult(true, ''):$iUserId;
|
||||
}
|
||||
|
||||
public function buildCompleteIndex()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user