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.
This commit is contained in:
parent
a81d929cdf
commit
db949bb802
123 changed files with 768 additions and 471 deletions
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
|
||||
|
||||
|
||||
if(! function_exists('rsd_xml_content')) {
|
||||
function rsd_xml_content(&$a) {
|
||||
header ("Content-Type: text/xml");
|
||||
echo '<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
|
@ -21,4 +20,5 @@ function rsd_xml_content(&$a) {
|
|||
</rsd>
|
||||
';
|
||||
die();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue