Version 4.3.0
This commit is contained in:
1 parent
96997ddd8e
commit
fe1acf984a
1349 files changed
+116159
-67711
No files matched your search
@@ -31,7 +31,7 @@ class _contact extends \IPS\Dispatcher\Controller
|
||||
{
|
||||
if ( !\IPS\Member::loggedIn()->canUseContactUs() )
|
||||
{
|
||||
\IPS\Output::i()->error( 'no_permission', '2S333/1', 403, '' );
|
||||
\IPS\Output::i()->error( 'no_module_permission', '2S333/1', 403, '' );
|
||||
}
|
||||
|
||||
/* Execute */
|
||||
@@ -100,15 +100,4 @@ class _contact extends \IPS\Dispatcher\Controller
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Can Use Contact Us
|
||||
*
|
||||
* @return bool
|
||||
* @deprecated 4.3
|
||||
*/
|
||||
public static function canUseContactUs()
|
||||
{
|
||||
return \IPS\Member::loggedIn()->canUseContactUs();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user