mirror of
https://github.com/Mibew/mibew.git
synced 2025-04-18 12:57:24 +03:00
Clean up ImageGenerator::getWidgetCode method
This commit is contained in:
parent
db7aa3d12a
commit
9c87fadb7d
@ -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()
|
protected function getWidgetCode()
|
||||||
{
|
{
|
||||||
if (!Settings::get('enabletracking')) {
|
|
||||||
return '';
|
|
||||||
}
|
|
||||||
|
|
||||||
$widget_data = array();
|
$widget_data = array();
|
||||||
|
|
||||||
// Get actual invitation style instance
|
// Get actual invitation style instance
|
||||||
|
Loading…
Reference in New Issue
Block a user