mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
plugins: PSR12 "b", "d" and "m"
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Copyright (C) 2018 Michael Muenz <m.muenz@gmail.com>
|
||||
*
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Copyright (C) 2019 Michael Muenz <m.muenz@gmail.com>
|
||||
* Copyright (C) 2019 Deciso B.V.
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Copyright (C) 2019 Michael Muenz <m.muenz@gmail.com>
|
||||
* Copyright (C) 2019 Deciso B.V.
|
||||
@@ -50,7 +51,7 @@ class RecordController extends ApiMutableModelControllerBase
|
||||
if ($this->request->isPost()) {
|
||||
$record = $this->getModel()->getRecord($uuid);
|
||||
if ($record !== null) {
|
||||
(new Domain)->updateSerial((string)$record->domain)->serializeToConfig();
|
||||
(new Domain())->updateSerial((string)$record->domain)->serializeToConfig();
|
||||
Config::getInstance()->save();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user