1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-20 05:11:42 +02:00

More deprecated function/method cleanup.

This commit is contained in:
Cameron
2016-02-15 01:07:34 -08:00
parent 2c50a06517
commit b402a12ec7
6 changed files with 16 additions and 11 deletions

View File

@@ -1210,7 +1210,7 @@ class admin_shortcodes
}
}
function getBadge($total, $type = 'latest')
static function getBadge($total, $type = 'latest')
{
/*
@@ -1269,7 +1269,7 @@ Inverse 10 <span class="badge badge-inverse">10</span>
/**
* Attempt to Convert Old $text string into new array format (e_status and e_latest)
*/
function legacyToConfig($text)
static function legacyToConfig($text)
{
$var = array();
preg_match_all('/(<img[^>]*>)[\s]*<a[^>]href=(\'|")([^\'"]*)(\'|")>([^<]*)<\/a>[: ]*([\d]*)/is',$text, $match);