Page Menu
Home
GitPull.it
Search
Configure Global Search
Log In
Files
F15187229
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/include/class-MailforwardAPI.php b/include/class-MailforwardAPI.php
deleted file mode 100644
index a63158f..0000000
--- a/include/class-MailforwardAPI.php
+++ /dev/null
@@ -1,63 +0,0 @@
-<?php
-# Copyright (C) 2018, 2019 Valerio Bozzolan
-# Boz Libre Hosting Panel
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Affero General Public License as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Affero General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-/**
- * E-mail forwarding API
- */
-class MailforwardfromAPI extends DomainAPI {
-
- /**
- * Domain ID column name
- *
- * @override
- */
- const DOMAIN_ID = Mailforwardfrom::T . DOT . 'domain_ID';
-
- /**
- * @constructor
- */
- public function __construct() {
- Query::__construct();
- $this->from( Mailforwardfrom::T );
- $this->defaultClass( 'Mailforwardfrom' );
- }
-
- /**
- * Join mailforwardes and domain (once)
- *
- * @return self
- */
- public function joinMailforwardfromDomain() {
- if( empty( $this->joinedMailforwardfromDomain ) ) {
- $this->joinedMailforwardfromDomain = true;
- $this->from( 'domain' );
- $this->equals( 'domain.domain_ID', 'mailforwardfrom.domain_ID' );
- }
- return $this;
- }
-
- /**
- * Filter to a certain mail forwarding username
- *
- * @param mailforward_source string
- * @return self
- */
- public function whereMailforwardfromUsername( $username ) {
- return $this->whereStr( 'mailforwardfrom_username', $username );
- }
-
-}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Thu, Nov 19, 09:45 (23 m, 20 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2265667
Default Alt Text
(1 KB)
Attached To
Mode
R3 KISS Libre Hosting Panel
Attached
Detach File
Event Timeline