X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=classes%2FRemote_profile.php;h=e5613125dcf5d564f5ae8aec77ecb07887a87ed6;hb=fe77b3445c5721f81e99b292f06f4ff3ab823022;hp=f36ac5f0c02577b64b5ba125c85079bc58082055;hpb=5d1a6f0fef3b99167babfa304ceda9b67720f399;p=quix0rs-gnu-social.git diff --git a/classes/Remote_profile.php b/classes/Remote_profile.php index f36ac5f0c0..e5613125dc 100644 --- a/classes/Remote_profile.php +++ b/classes/Remote_profile.php @@ -1,18 +1,18 @@ . */ @@ -31,7 +31,9 @@ class Remote_profile extends DB_DataObject public $__table = 'remote_profile'; // table name public $id; // int(4) primary_key not_null - public $url; // varchar(255) unique_key + public $uri; // varchar(255) unique_key + public $postnoticeurl; // varchar(255) + public $updateprofileurl; // varchar(255) public $created; // datetime() not_null public $modified; // timestamp() not_null default_CURRENT_TIMESTAMP @@ -40,9 +42,4 @@ class Remote_profile extends DB_DataObject /* the code above is auto generated do not remove the tag below */ ###END_AUTOCODE - - function validateUrl() { - return is_null($this->url) || - Validate::uri($this->url, array('allowed_schemes' => array('http', 'https'))); - } }