Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
This commit is contained in:
commit
8e4889bdf1
@ -648,7 +648,7 @@ class Enotify {
|
||||
logger("notification: enotify::send returns " . $res, LOGGER_DEBUG);
|
||||
}
|
||||
|
||||
static public function forma($item) {
|
||||
static public function format($item) {
|
||||
|
||||
$ret = '';
|
||||
|
||||
|
@ -1421,13 +1421,15 @@ class Admin extends \Zotlabs\Web\Controller {
|
||||
function listAddonRepos() {
|
||||
$addonrepos = [];
|
||||
$addonDir = __DIR__ . '/../../extend/addon/';
|
||||
if ($handle = opendir($addonDir)) {
|
||||
while (false !== ($entry = readdir($handle))) {
|
||||
if ($entry != "." && $entry != "..") {
|
||||
$addonrepos[] = $entry;
|
||||
if(is_dir($addonDir)) {
|
||||
if ($handle = opendir($addonDir)) {
|
||||
while (false !== ($entry = readdir($handle))) {
|
||||
if ($entry != "." && $entry != "..") {
|
||||
$addonrepos[] = $entry;
|
||||
}
|
||||
}
|
||||
closedir($handle);
|
||||
}
|
||||
closedir($handle);
|
||||
}
|
||||
return $addonrepos;
|
||||
}
|
||||
|
@ -286,7 +286,7 @@ class Ping extends \Zotlabs\Web\Controller {
|
||||
foreach($r as $item) {
|
||||
if((argv(1) === 'home') && (! intval($item['item_wall'])))
|
||||
continue;
|
||||
$result[] = \Zotlbas\Lib\Enotify::format($item);
|
||||
$result[] = \Zotlabs\Lib\Enotify::format($item);
|
||||
}
|
||||
}
|
||||
// logger('ping (network||home): ' . print_r($result, true), LOGGER_DATA);
|
||||
|
Reference in New Issue
Block a user