projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removes meaningless empty fields.
[platal.git]
/
include
/
banana
/
hooks.inc.php
diff --git
a/include/banana/hooks.inc.php
b/include/banana/hooks.inc.php
index
9d42694
..
db23f72
100644
(file)
--- a/
include/banana/hooks.inc.php
+++ b/
include/banana/hooks.inc.php
@@
-1,6
+1,6
@@
<?php
/***************************************************************************
<?php
/***************************************************************************
- * Copyright (C) 2003-201
0
Polytechnique.org *
+ * Copyright (C) 2003-201
1
Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-77,7
+77,7
@@
function hook_platalRSS($group)
} else {
$group = '';
}
} else {
$group = '';
}
- return '/rss/' . $group . S::v('hruid') . '/' . S::
s('token')
. '/rss.xml';
+ return '/rss/' . $group . S::v('hruid') . '/' . S::
user()->token
. '/rss.xml';
}
function hook_platalMessageLink($params)
}
function hook_platalMessageLink($params)
@@
-307,7
+307,7
@@
class PlatalBananaPage extends BananaPage
class BananaHandler
{
class BananaHandler
{
- public function __construct(PlWizard
&
$wiz)
+ public function __construct(PlWizard $wiz)
{
}
{
}
@@
-316,7
+316,7
@@
class BananaHandler
return 'banana/index.tpl';
}
return 'banana/index.tpl';
}
- public function prepare(PlPage
&
$page, $id)
+ public function prepare(PlPage $page, $id)
{
}
{
}
@@
-328,7
+328,7
@@
class BananaHandler
}
}
}
}
-function run_banana(
&
$page, $class, array $args)
+function run_banana($page, $class, array $args)
{
$user = S::user();
$banana = new $class($user, $args);
{
$user = S::user();
$banana = new $class($user, $args);