Co-authored-by: Matthias Schmidt <gravatronics@live.com>
/**
* Validates the server URL.
+ *
+ * @since 5.3
*/
protected function validateServerURL() {
if (empty($this->serverURL)) {
/**
* Returns the first package update server with a matching serverURL.
+ *
+ * @since 5.3
*/
protected function findDuplicateServer() {
$packageServerList = new PackageUpdateServerList();
/**
* Does nothing.
+ *
+ * @since 5.3
*/
public function validateServerURL() {
// The server URL cannot be modified, thus we do not need to validate it.
* Returns whether the current user may delete this update server.
*
* @return boolean
+ * @since 5.3
*/
public final function canDelete() {
return !$this->isWoltLabUpdateServer() && !$this->isWoltLabStoreServer();