1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 06:38:00 +02:00

Notice removal on welcome message shortcode.

This commit is contained in:
Cameron
2014-05-23 20:22:37 -07:00
parent b70468cece
commit 857d5af399

View File

@@ -1,15 +1,17 @@
<?php
function wmessage_shortcode($parm)
function wmessage_shortcode($parm='')
{
if($parm == 'hide')
{
return;
}
$e107 = e107::getInstance();
$e107cache = e107::getCache();
$pref = e107::getPref();
$e107 = e107::getInstance();
$e107cache = e107::getCache();
$pref = e107::getPref();
$front_url = '';
/* DEPRECATED - see auto-detect in header_default.php
$prefwmsc = varset($pref['wmessage_sc'], FALSE);