1
0
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:
Cameron 2022-12-13 18:30:12 -08:00
parent 05b1b040c8
commit 78d4809d15
4 changed files with 2 additions and 10 deletions

View File

@ -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;
}

View File

@ -496,7 +496,7 @@ class notify
$this->send('admin_news_notify', $data['news_title'], $message, $img);
// print_a($message);
}

View File

@ -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)
{

View File

@ -64,8 +64,6 @@ class notifyTest extends \Codeception\Test\Unit
'legacy' => '0',
),
);
}
public function testSend()