mirror of
https://github.com/friendica/friendica
synced 2024-11-14 05:02:54 +00:00
db949bb802
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.
8 lines
217 B
PHP
8 lines
217 B
PHP
<?php
|
|
if(! function_exists('maintenance_content')) {
|
|
function maintenance_content(&$a) {
|
|
return replace_macros(get_markup_template('maintenance.tpl'), array(
|
|
'$sysdown' => t('System down for maintenance')
|
|
));
|
|
}
|
|
}
|