aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Zotlabs/Daemon/Cron.php2
-rw-r--r--Zotlabs/Module/Setup.php8
-rw-r--r--Zotlabs/Update/_1220.php8
3 files changed, 9 insertions, 9 deletions
diff --git a/Zotlabs/Daemon/Cron.php b/Zotlabs/Daemon/Cron.php
index d1c516f96..25e49b817 100644
--- a/Zotlabs/Daemon/Cron.php
+++ b/Zotlabs/Daemon/Cron.php
@@ -60,7 +60,7 @@ class Cron {
drop_item($rr['id'],false,(($rr['item_wall']) ? DROPITEM_PHASE1 : DROPITEM_NORMAL));
if($rr['item_wall']) {
// The notifier isn't normally invoked unless item_drop is interactive.
- Zotlabs\Daemon\Master::Summon( [ 'Notifier', 'drop', $rr['id'] ] );
+ Master::Summon( [ 'Notifier', 'drop', $rr['id'] ] );
}
}
}
diff --git a/Zotlabs/Module/Setup.php b/Zotlabs/Module/Setup.php
index 50b40834b..693f3309e 100644
--- a/Zotlabs/Module/Setup.php
+++ b/Zotlabs/Module/Setup.php
@@ -526,7 +526,7 @@ class Setup extends \Zotlabs\Web\Controller {
$ck_funcs[0]['status'] = false;
$ck_funcs[0]['help'] = t('Error: libCURL PHP module required but not installed.');
}
- if((! function_exists('imagecreatefromjpeg')) || (! class_exists('Imagick'))) {
+ if((! function_exists('imagecreatefromjpeg')) || (! class_exists('\\Imagick'))) {
$ck_funcs[1]['status'] = false;
$ck_funcs[1]['help'] = t('Error: GD PHP module with JPEG support or ImageMagick graphics library required but not installed.');
}
@@ -534,14 +534,14 @@ class Setup extends \Zotlabs\Web\Controller {
$ck_funcs[2]['status'] = false;
$ck_funcs[2]['help'] = t('Error: openssl PHP module required but not installed.');
}
- if(class_exists('PDO')) {
- $x = PDO::getAvailableDrivers();
+ if(class_exists('\\PDO')) {
+ $x = \PDO::getAvailableDrivers();
if((! in_array('mysql',$x)) && (! in_array('pgsql',$x))) {
$ck_funcs[3]['status'] = false;
$ck_funcs[3]['help'] = t('Error: PDO database PHP module missing a driver for either mysql or pgsql.');
}
}
- if(! class_exists('PDO')) {
+ if(! class_exists('\\PDO')) {
$ck_funcs[3]['status'] = false;
$ck_funcs[3]['help'] = t('Error: PDO database PHP module required but not installed.');
}
diff --git a/Zotlabs/Update/_1220.php b/Zotlabs/Update/_1220.php
index adcb8c9c6..6ce09c16b 100644
--- a/Zotlabs/Update/_1220.php
+++ b/Zotlabs/Update/_1220.php
@@ -26,14 +26,14 @@ class _1220 {
if(ACTIVE_DBTYPE == DBTYPE_MYSQL) {
$r = q("CREATE TABLE IF NOT EXISTS listeners (
id int(11) NOT NULL AUTO_INCREMENT,
- target_id varchar(191) CHARACTER SET utf8mb4 NOT NULL DEFAULT '',
- portable_id varchar(191) CHARACTER SET utf8mb4 NOT NULL DEFAULT '',
- ltype int(11) NOT NULL DEFAULT '0',
+ target_id varchar(191) NOT NULL DEFAULT '',
+ portable_id varchar(191) NOT NULL DEFAULT '',
+ ltype int(11) NOT NULL DEFAULT 0,
PRIMARY KEY (id),
KEY target_id (target_id),
KEY portable_id (portable_id),
KEY ltype (ltype)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8");
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4");
}