Skip to content
Snippets Groups Projects
Commit d0f6ab24 authored by Uma's avatar Uma
Browse files

Merge branch 'Settings_Page_Warning' into 'master'

Fixes Settings page warnings

See merge request !618
parents bced107e 618a56c0
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@
Class Settings_Profiles_EditAjax_View extends Settings_Profiles_Edit_View {
public function preProcess(Vtiger_Request $request) {
public function preProcess(Vtiger_Request $request, $display=true) {
return true;
}
......
......@@ -109,7 +109,7 @@ class Settings_SharingAccess_Module_Model extends Vtiger_Module_Model {
* Static Function to get the instance of Vtiger Module Model for all the modules
* @return <Array> - List of Vtiger Module Model or sub class instances
*/
public static function getAll($editable=false) {
public static function getAll($presence = array(), $restrictedModulesList = array(), $editable=false) {
$db = PearDatabase::getInstance();
$moduleModels = array();
......
......@@ -21,7 +21,7 @@ class Settings_Vtiger_Systems_Model extends Vtiger_Base_Model{
return ($smtp_auth_value == 'on' || $smtp_auth_value == 1 || $smtp_auth_value == 'true') ? true : false;
}
public function save() {
public function save($request) {
$db = PearDatabase::getInstance();
$id = $this->getId();
......
......@@ -14,7 +14,7 @@ class Settings_Vtiger_IndexAjax_View extends Settings_Vtiger_Index_View {
$this->exposeMethod('getSettingsShortCutBlock');
}
public function preProcess (Vtiger_Request $request) {
public function preProcess (Vtiger_Request $request, $display=true) {
return;
}
......
......@@ -82,7 +82,7 @@ class Settings_Webforms_Field_Model extends Vtiger_Field_Model {
return $this->getPicklistValues();
}
public function getDisplayValue($value) {
public function getDisplayValue($value, $record=false, $recordInstance = false) {
if ($this->getName() === 'enabled') {
$moduleName = 'Settings:Webforms';
if ($value) {
......@@ -93,7 +93,7 @@ class Settings_Webforms_Field_Model extends Vtiger_Field_Model {
return parent::getDisplayValue($value);
}
public function getPermissions() {
public function getPermissions($accessmode = false) {
return true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment