projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c00543d
)
sync
author
Alan Knowles
<alan@roojs.com>
Wed, 6 Jan 2021 05:59:44 +0000
(13:59 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 6 Jan 2021 05:59:44 +0000
(13:59 +0800)
Pman.php
patch
|
blob
|
history
diff --git
a/Pman.php
b/Pman.php
index
ba45a32
..
aa65cda
100644
(file)
--- a/
Pman.php
+++ b/
Pman.php
@@
-280,7
+280,7
@@
class Pman extends HTML_FlexyFramework_Page
function getAuthUser()
{
function getAuthUser()
{
- return staticGetAuthUser($this);
+ return s
elf::s
taticGetAuthUser($this);
}
/**
* hasPerm:
}
/**
* hasPerm:
@@
-297,8
+297,7
@@
class Pman extends HTML_FlexyFramework_Page
$au = $this->getAuthUser();
return $au && $au->hasPerm($name,$lvl);
$au = $this->getAuthUser();
return $au && $au->hasPerm($name,$lvl);
- }
-
+ }
/**
* modulesList: List the modules in the application
*
/**
* modulesList: List the modules in the application
*
@@
-1174,10
+1173,7
@@
class Pman extends HTML_FlexyFramework_Page
// DEPRECITAED - use moduleslist
function modules() { return $this->modulesList(); }
// DEPRECITAED - use moduleslist
function modules() { return $this->modulesList(); }
- // DEPRECIATED.. - use getAuthUser...
- function staticGetAuthUser() { $x = new Pman(); return $x->getAuthUser(); }
-
-
+
// DEPRICATED USE Pman_Core_Mailer
function emailTemplate($templateFile, $args)
// DEPRICATED USE Pman_Core_Mailer
function emailTemplate($templateFile, $args)