aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-10-12 20:41:59 -0700
committerzotlabs <mike@macgirvin.com>2016-10-12 20:41:59 -0700
commite31451000551c879bda7be8a5fbfe4b6457aa918 (patch)
treedfc04db081c7a1cf3e16b175cc0b231f545988a4
parentfacc6ee6b32df5c51d7f00bda1caa0469d4f71e3 (diff)
downloadvolse-hubzilla-e31451000551c879bda7be8a5fbfe4b6457aa918.tar.gz
volse-hubzilla-e31451000551c879bda7be8a5fbfe4b6457aa918.tar.bz2
volse-hubzilla-e31451000551c879bda7be8a5fbfe4b6457aa918.zip
minor
-rw-r--r--Zotlabs/Module/Directory.php1
-rw-r--r--install/update.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Module/Directory.php b/Zotlabs/Module/Directory.php
index e1068223b..da9bb146f 100644
--- a/Zotlabs/Module/Directory.php
+++ b/Zotlabs/Module/Directory.php
@@ -1,4 +1,5 @@
<?php
+
namespace Zotlabs\Module;
require_once('include/socgraph.php');
diff --git a/install/update.php b/install/update.php
index 07a94b161..20713be0e 100644
--- a/install/update.php
+++ b/install/update.php
@@ -2448,7 +2448,7 @@ function update_r1182() {
function update_r1183() {
$r1 = q("alter table hook CHANGE priority priority smallint NOT NULL DEFAULT '0' ");
- $r2 = q("create index priority on hook (priority)");
+ $r2 = q("create index priority_idx on hook (priority)");
if($r1 && $r2)
return UPDATE_SUCCESS;