removed unused function posted_date_widget

This functions seems not to be used anywhere. include/widgets.php contains widget_archive($arr) which has the same functionality.
This commit is contained in:
Klaus 2014-02-16 10:25:32 +01:00
parent 01f31c2f20
commit 29f6a1ee33

View File

@ -3622,26 +3622,6 @@ function posted_dates($uid,$wall) {
}
function posted_date_widget($url,$uid,$wall) {
$o = '';
if(! feature_enabled($uid,'archives'))
return $o;
$ret = posted_dates($uid,$wall);
if(! count($ret))
return $o;
$o = replace_macros(get_markup_template('posted_date_widget.tpl'),array(
'$title' => t('Archives'),
'$size' => ((count($ret) > 6) ? 6 : count($ret)),
'$url' => $url,
'$dates' => $ret
));
return $o;
}
function fetch_post_tags($items,$link = false) {
$tag_finder = array();