Improvement fullName and labels - Audilog Kpi
This commit is contained in:
@@ -294,15 +294,16 @@ class Dashboard {
|
||||
* Delete Dashboard
|
||||
*
|
||||
* @param string $das_uid Unique id
|
||||
* @param string $usr_uid
|
||||
*
|
||||
* return void
|
||||
*
|
||||
* @author Marco Antonio Nina <marco.antonio.nina@colosa.com>
|
||||
*/
|
||||
public function deletedashboard($das_uid)
|
||||
public function deletedashboard($das_uid, $usr_uid)
|
||||
{
|
||||
$dashboard = new \Dashboard();
|
||||
$response = $dashboard->remove($das_uid);
|
||||
$response = $dashboard->remove($das_uid, $usr_uid);
|
||||
return $response;
|
||||
}
|
||||
|
||||
|
||||
@@ -282,7 +282,7 @@ class Dashboard extends Api
|
||||
try {
|
||||
$dashboard = new \ProcessMaker\BusinessModel\Dashboard();
|
||||
$request_data['USR_UID'] = $this->getUserId();
|
||||
$response = $dashboard->deletedashboard($das_uid);
|
||||
$response = $dashboard->deletedashboard($das_uid, $this->getUserId());
|
||||
return $response;
|
||||
} catch (\Exception $e) {
|
||||
throw (new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage()));
|
||||
|
||||
Reference in New Issue
Block a user