Skip to content

Commit

Permalink
Closes #3799 Added afterPrefsSave() method.
Browse files Browse the repository at this point in the history
  • Loading branch information
CaMer0n committed May 13, 2019
1 parent 9ec990e commit 541fcfa
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion e107_handlers/admin_ui.php
Original file line number Diff line number Diff line change
Expand Up @@ -6033,6 +6033,14 @@ public function beforePrefsSave($new_data, $old_data)
{
}

/**
* User defined before pref saving logic
*/
public function afterPrefsSave()
{

}

/**
* User defined error handling, return true to suppress model messages
*/
Expand Down Expand Up @@ -6083,7 +6091,7 @@ function CreateHeader()

/**
*
* @return TBD
* @return string
*/
public function CreatePage()
{
Expand Down Expand Up @@ -6139,6 +6147,7 @@ public function PrefsSaveTrigger()

$this->getConfig()->save(true);

$this->afterPrefsSave();

/*
$this->getConfig()
Expand Down

1 comment on commit 541fcfa

@Jimmi08
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect! BIG BIG THANK YOU!

Please sign in to comment.