summaryrefslogtreecommitdiffstats
path: root/code/links.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'code/links.inc.php')
-rw-r--r--code/links.inc.php11
1 files changed, 1 insertions, 10 deletions
diff --git a/code/links.inc.php b/code/links.inc.php
index cb264cd..6c6fcd8 100644
--- a/code/links.inc.php
+++ b/code/links.inc.php
@@ -1,5 +1,5 @@
<?PHP
- Uses('user');
+ Uses('user', 'pages');
class Links {
function GetNeonLink($page, $extra = '', $html = true) {
@@ -26,15 +26,6 @@
function GetMailtoLink($address) {
return 'mailto:' . $address;
}
-
- function GetNavPage($page) {
- if($GLOBALS['pages']->HasReadAccess($page, 'n')) {
- $page = $GLOBALS['pages']->Get($page, 'n');
- return $page['content'];
- }
-
- return '';
- }
}
$GLOBALS['links'] = new Links;