mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 22:57:14 +02:00
Code cleanup
This commit is contained in:
@@ -192,11 +192,11 @@ class faqs_shortcodes extends e_shortcode
|
||||
{
|
||||
$tp = e107::getParser();
|
||||
$faqpref = e107::getPlugConfig('faqs')->getPref();
|
||||
if(($faqpref['add_faq'] && $this->var['faq_author'] == USERID) || ADMIN )
|
||||
{
|
||||
//if(($faqpref['add_faq'] && $this->var['faq_author'] == USERID) || ADMIN )
|
||||
// {
|
||||
// UNDER CONSTRUCTION
|
||||
//return "[ <a href='faqs.php?edit.".$this->var['faq_parent'].".".$this->var['faq_id']."'>Edit</a> ]";
|
||||
}
|
||||
// }
|
||||
}
|
||||
|
||||
/* {FAQ_CATEGORY_ID} */
|
||||
|
Reference in New Issue
Block a user