mirror of
https://github.com/friendica/friendica
synced 2024-12-23 18:00:17 +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')
|
|
));
|
|
}
|
|
}
|