Clean up ImageGenerator::getWidgetCode method

This commit is contained in:
Dmitriy Simushev 2014-12-11 10:18:24 +00:00
parent db7aa3d12a
commit 9c87fadb7d

View File

@ -113,16 +113,12 @@ class ImageGenerator extends TextGenerator
}
/**
* Generates HTML coed for Mibew widget.
* Generates HTML markup for Mibew widget.
*
* @return string
* @return \Canteen\HTML5\Fragment
*/
protected function getWidgetCode()
{
if (!Settings::get('enabletracking')) {
return '';
}
$widget_data = array();
// Get actual invitation style instance