aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;