Fix blah to work with new handler interfaces.
Remove outdated app-framework code. Clanup some of the fallback handler setting code.
This commit is contained in:
parent
e75232761a
commit
889e844d73
3 changed files with 10 additions and 17 deletions
|
|
@ -279,19 +279,10 @@ fn make_blog_post {
|
|||
# App framework
|
||||
|
||||
fn init_apps {
|
||||
found=()
|
||||
for(a in $enabled_apps) {
|
||||
. ./apps/$a/app.rc
|
||||
if($a^'_init')
|
||||
found=yes
|
||||
$a^'_init'
|
||||
}
|
||||
|
||||
~ $#found 1 # Set status
|
||||
}
|
||||
|
||||
fn app_handler {
|
||||
if(! ~ $#app_body_handler 0)
|
||||
$app_body_handler
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue