File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
3
* Initialisation script for the module database
4
- * @author Alexandre Moittié <contact@alexandre-moittie .com>
4
+ * @author Aetiom <aetiom@protonmail .com>
5
5
* @package bfw-mailer
6
- * @version 1.0
6
+ * @version 1.1
7
7
*/
8
8
9
9
//Default: Run by BFW install module script
36
36
echo $ shiftingActions .' Verifying bfw-sql configuration... ' ;
37
37
38
38
try {
39
- $ bfwsql = $ app ->getModule ('bfw-sql ' );
39
+ $ bfwsql = $ app ->getModuleList ()-> getModuleByName ('bfw-sql ' );
40
40
} catch (\Exception $ e ) {
41
41
// Display error and tip message if the bfw-sql module is missing
42
42
echo "\033[1;31m Fail ! \n"
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
3
* Script for sending email from the BFW Mailer queue (outbox)
4
- * @author Alexandre Moittié <contact@alexandre-moittie .com>
4
+ * @author Aetiom <aetiom@protonmail .com>
5
5
* @package bfw-mailer
6
- * @version 1.0
6
+ * @version 1.1
7
7
*/
8
8
9
9
/*
12
12
*/
13
13
14
14
// Retrieve mailer module from BFW Application
15
- $ mailer = \BFW \Application::getInstance ()->getModule ('bfw-mailer ' )->mailer ;
15
+ $ mailer = \BFW \Application::getInstance ()->getModuleList ()-> getModuleByName ('bfw-mailer ' )->mailer ;
16
16
17
17
// Processing mail queue by dequeuing, sending and archiving ONLY A SINGLE EMAIL from outbox
18
18
$ mailer ->process_queue ();
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
3
* Initialisation script for the module
4
- * @author Alexandre Moittié <contact@alexandre-moittie .com>
4
+ * @author Aetiom <aetiom@protonmail .com>
5
5
* @package bfw-mailer
6
- * @version 1.0
6
+ * @version 1.1
7
7
*/
8
8
9
9
$ config = $ this ->getConfig ();
You can’t perform that action at this time.
0 commit comments