You've already forked postfixadmin
mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2025-08-07 17:42:53 +03:00
composer format
This commit is contained in:
@@ -137,9 +137,8 @@ class AliasHandler extends PFAHandler {
|
|||||||
* It also calls parent::init()
|
* It also calls parent::init()
|
||||||
*/
|
*/
|
||||||
public function init($id) {
|
public function init($id) {
|
||||||
|
|
||||||
$bits = explode('@', $id);
|
$bits = explode('@', $id);
|
||||||
if(sizeof($bits) == 2) {
|
if (sizeof($bits) == 2) {
|
||||||
$local_part = $bits[0];
|
$local_part = $bits[0];
|
||||||
$domain = $bits[1];
|
$domain = $bits[1];
|
||||||
if ($local_part == '*') { # catchall - postfix expects '@domain', not '*@domain'
|
if ($local_part == '*') { # catchall - postfix expects '@domain', not '*@domain'
|
||||||
|
Reference in New Issue
Block a user