aboutsummaryrefslogtreecommitdiff
path: root/app/class/Page.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/class/Page.php')
-rw-r--r--app/class/Page.php27
1 files changed, 1 insertions, 26 deletions
diff --git a/app/class/Page.php b/app/class/Page.php
index 43cf387..b1c6b49 100644
--- a/app/class/Page.php
+++ b/app/class/Page.php
@@ -234,22 +234,11 @@ class Page extends Dbitem
if ($this->secure == 2) {
$secure = 'not_published';
}
- return $secure;
} else {
return $this->secure;
}
}
- public function invitepassword($type = 'string')
- {
- return $this->invitepassword;
- }
-
- public function readpassword($type = 'string')
- {
- return $this->readpassword;
- }
-
public function interface($type = 'string')
{
return $this->interface;
@@ -266,7 +255,7 @@ class Page extends Dbitem
} elseif ($option == 'string') {
return implode(', ', $this->linkto);
}
- return $linkto;
+ return $this->linkto;
}
public function templatebody($type = 'string')
@@ -576,20 +565,6 @@ class Page extends Dbitem
}
}
- public function setinvitepassword($invitepassword)
- {
- if (is_string($invitepassword) && strlen($invitepassword) < self::LEN) {
- $this->invitepassword = $invitepassword;
- }
- }
-
- public function setreadpassword($readpassword)
- {
- if (is_string($readpassword) && strlen($readpassword) < self::LEN) {
- $this->readpassword = $readpassword;
- }
- }
-
public function setinterface($interface)
{
if (in_array($interface, self::TABS)) {