friendica_2021.01_tupambae_.../mod/smilies.php
Andrej Stieben db949bb802 Updated modules to allow for partial overrides without errors
Only define functions if they have not been defined before, e.g. in themes. This makes it possible to override parts of a module and still use the other functions.
2016-02-05 21:52:39 +01:00

7 lines
113 B
PHP

<?php
if(! function_exists('smilies_content')) {
function smilies_content(&$a) {
return smilies('',true);
}
}