use Friendica\Model\Photo;
use Friendica\Object\Image;
use Friendica\Util\Strings;
+use Friendica\Worker\Delivery;
/**
* @brief UserImport class
}
if ($ttype[$icol] === 'datetime') {
- $arr[$icol] = !empty($ival) ? $ival : DBA::NULL_DATETIME;
+ $arr[$icol] = $ival ?? DBA::NULL_DATETIME;
}
}
}
}
// send relocate messages
- Worker::add(PRIORITY_HIGH, 'Notifier', 'relocate', $newuid);
+ Worker::add(PRIORITY_HIGH, 'Notifier', Delivery::RELOCATION, $newuid);
info(L10n::t("Done. You can now login with your username and password"));
$a->internalRedirect('login');