Permalink
Browse files

Fixed #3.

  • Loading branch information...
davidstutz committed Jan 6, 2018
1 parent ad0d6d3 commit 577d3e79c89789093dc2b397aa2b91e8f38a948a
Showing with 6 additions and 8 deletions.
  1. +6 −8 admin.php
View
@@ -25,17 +25,15 @@
*
* @see <http://www.gnu.org/licenses/>.
*/
/*
* Register the plugin menu items.
*/
if (function_exists('XH_registerStandardPluginMenuItems')) {
XH_registerStandardPluginMenuItems(false);
}
if (!class_exists('News')) require dirname(__FILE__) . '/news.php';
if (isset($news) OR isset($_GET['news']))
if (function_exists('XH_registerStandardPluginMenuItems'))
{
XH_registerStandardPluginMenuItems(true);
}
if ((function_exists('XH_wantsPluginAdministration') AND XH_wantsPluginAdministration('news')) OR isset($news))
{
global $sn;

0 comments on commit 577d3e7

Please sign in to comment.