This commit is contained in:
Paula Quispe
2017-10-24 16:22:23 -04:00
parent 1ba7a3fd1d
commit 00cfd4da56
2 changed files with 0 additions and 15 deletions

View File

@@ -1260,20 +1260,6 @@ class AppCacheView extends BaseAppCacheView
}
}
public function setSuperForUser($mysqlUser)
{
try {
$con = Propel::getConnection("root");
$stmt = $con->createStatement();
$sql = "GRANT SUPER on *.* to '$mysqlUser' ";
$rs1 = $stmt->executeQuery($sql, ResultSet::FETCHMODE_NUM);
return array();
} catch (Exception $e) {
return array('error' => true, 'msg' => $e->getMessage());
}
}
/**
* search for table APP_CACHE_VIEW
* @return void