small fixes, removed old unused database row, and log more prominently a missing directory server URL
This commit is contained in:
parent
5afe8e5aa1
commit
391807b46c
@ -44,7 +44,6 @@ CREATE TABLE "abook" (
|
|||||||
create index "abook_profile" on abook ("abook_profile");
|
create index "abook_profile" on abook ("abook_profile");
|
||||||
create index "abook_dob" on abook ("abook_dob");
|
create index "abook_dob" on abook ("abook_dob");
|
||||||
create index "abook_connected" on abook ("abook_connected");
|
create index "abook_connected" on abook ("abook_connected");
|
||||||
create index "abook_rating" on abook ("abook_rating");
|
|
||||||
create index "abook_channel_closeness" on abook ("abook_channel", "abook_closeness");
|
create index "abook_channel_closeness" on abook ("abook_channel", "abook_closeness");
|
||||||
|
|
||||||
CREATE TABLE "account" (
|
CREATE TABLE "account" (
|
||||||
|
@ -121,6 +121,8 @@ function directory_content(&$a) {
|
|||||||
}
|
}
|
||||||
if(! $url) {
|
if(! $url) {
|
||||||
$directory = find_upstream_directory($dirmode);
|
$directory = find_upstream_directory($dirmode);
|
||||||
|
if((! $directory) || (! array_key_exists('url',$directory)) || (! $directory['url']))
|
||||||
|
logger('CRITICAL: No directory server URL');
|
||||||
$url = $directory['url'] . '/dirsearch';
|
$url = $directory['url'] . '/dirsearch';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
2015-11-11.1213
|
2015-11-12.1214
|
||||||
|
Reference in New Issue
Block a user