mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
post preview to loozah
This commit is contained in:
parent
375cb82124
commit
cf7008e575
6 changed files with 28 additions and 3 deletions
|
@ -170,6 +170,10 @@ function conversation(&$a, $items, $mode, $update, $preview = false) {
|
|||
|
||||
load_contact_links(local_user());
|
||||
|
||||
$cb = array('items' => $items, 'mode' => $mode, 'update' => $update, 'preview' => $preview);
|
||||
call_hooks('conversation_start',$cb);
|
||||
|
||||
$items = $cb['items'];
|
||||
|
||||
$cmnt_tpl = get_markup_template('comment_item.tpl');
|
||||
$tpl = get_markup_template('wall_item.tpl');
|
||||
|
|
|
@ -19,7 +19,7 @@ function uninstall_plugin($plugin){
|
|||
if (! function_exists('install_plugin')){
|
||||
function install_plugin($plugin){
|
||||
logger("Addons: installing " . $plugin);
|
||||
$t = filemtime('addon/' . $plugin . '/' . $plugin . '.php');
|
||||
$t = @filemtime('addon/' . $plugin . '/' . $plugin . '.php');
|
||||
@include_once('addon/' . $plugin . '/' . $plugin . '.php');
|
||||
if(function_exists($plugin . '_install')) {
|
||||
$func = $plugin . '_install';
|
||||
|
@ -33,6 +33,10 @@ function install_plugin($plugin){
|
|||
$plugin_admin
|
||||
);
|
||||
}
|
||||
else {
|
||||
logger("Addons: FAILED installing " . $plugin);
|
||||
}
|
||||
|
||||
}}
|
||||
|
||||
// reload all updated plugins
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue