diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-11-12 16:45:38 -0800 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-11-12 16:45:38 -0800 |
commit | 391807b46c3f54eb94b88c253d89d09bc7139989 (patch) | |
tree | ac409e3fb52e8c5376941779ef143d3e02b758a6 | |
parent | 5afe8e5aa116fb288b2ef87c7af3c7e74565d50b (diff) | |
download | volse-hubzilla-391807b46c3f54eb94b88c253d89d09bc7139989.tar.gz volse-hubzilla-391807b46c3f54eb94b88c253d89d09bc7139989.tar.bz2 volse-hubzilla-391807b46c3f54eb94b88c253d89d09bc7139989.zip |
small fixes, removed old unused database row, and log more prominently a missing directory server URL
-rw-r--r-- | install/schema_postgres.sql | 1 | ||||
-rw-r--r-- | mod/directory.php | 2 | ||||
-rw-r--r-- | version.inc | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/install/schema_postgres.sql b/install/schema_postgres.sql index d60e1bc69..95ed9acb7 100644 --- a/install/schema_postgres.sql +++ b/install/schema_postgres.sql @@ -44,7 +44,6 @@ CREATE TABLE "abook" ( create index "abook_profile" on abook ("abook_profile"); create index "abook_dob" on abook ("abook_dob"); 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 TABLE "account" ( diff --git a/mod/directory.php b/mod/directory.php index 3c230e173..4ab118b17 100644 --- a/mod/directory.php +++ b/mod/directory.php @@ -121,6 +121,8 @@ function directory_content(&$a) { } if(! $url) { $directory = find_upstream_directory($dirmode); + if((! $directory) || (! array_key_exists('url',$directory)) || (! $directory['url'])) + logger('CRITICAL: No directory server URL'); $url = $directory['url'] . '/dirsearch'; } diff --git a/version.inc b/version.inc index 3b6ad6e9a..938250e5c 100644 --- a/version.inc +++ b/version.inc @@ -1 +1 @@ -2015-11-11.1213 +2015-11-12.1214 |