| Conditions | 2 |
| Paths | 2 |
| Total Lines | 20 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | public function MainFabrica($sName, &$oProvider) |
||
| 15 | { |
||
| 16 | switch ($sName) |
||
| 17 | { |
||
| 18 | case 'change-password': |
||
| 19 | |||
| 20 | include_once __DIR__.'/ChangePasswordPoppassdDriver.php'; |
||
| 21 | |||
| 22 | $oProvider = new ChangePasswordPoppassdDriver(); |
||
| 23 | |||
| 24 | $oProvider |
||
| 25 | ->SetHost($this->Config()->Get('plugin', 'host', '')) |
||
| 26 | ->SetPort((int) $this->Config()->Get('plugin', 'port', 106)) |
||
| 27 | ->SetAllowedEmails(\strtolower(\trim($this->Config()->Get('plugin', 'allowed_emails', '')))) |
||
| 28 | ->SetLogger($this->Manager()->Actions()->Logger()) |
||
| 29 | ; |
||
| 30 | |||
| 31 | break; |
||
| 32 | } |
||
| 33 | } |
||
| 34 | |||
| 53 |