mirror of
https://github.com/e107inc/e107.git
synced 2025-01-16 20:28:28 +01:00
Closes #4922 - Option for plugins to extend notification routing.
This commit is contained in:
parent
05b1b040c8
commit
78d4809d15
@ -318,13 +318,7 @@ class plugin_notify_admin_ui extends e_admin_ui
|
||||
$text2 .= "<div class='buttons-bar center'>". $frm->admin_button('update', LAN_UPDATE,'update') . "</div>";
|
||||
$text2 .= $frm->close();
|
||||
|
||||
|
||||
// $ns -> tablerender(NT_LAN_1, $mes->render() . $text2);
|
||||
|
||||
return $text2;
|
||||
// return;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
@ -496,7 +496,7 @@ class notify
|
||||
|
||||
$this->send('admin_news_notify', $data['news_title'], $message, $img);
|
||||
|
||||
// print_a($message);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -78,7 +78,7 @@ class _blank_notify extends notify
|
||||
* Custom Method to handle notification.
|
||||
* REMOVE THIS METHOD WHEN NOT IN USE
|
||||
* @param array $data
|
||||
* @return string
|
||||
* @return array
|
||||
*/
|
||||
function other_type($data)
|
||||
{
|
||||
|
@ -64,8 +64,6 @@ class notifyTest extends \Codeception\Test\Unit
|
||||
'legacy' => '0',
|
||||
),
|
||||
);
|
||||
|
||||
|
||||
}
|
||||
|
||||
public function testSend()
|
||||
|
Loading…
x
Reference in New Issue
Block a user