aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Profile
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-10-23 15:25:14 +0200
committerJoas Schilling <coding@schilljs.com>2023-10-23 15:25:14 +0200
commit3a265cee302e390da0f42f953040b22f667d109d (patch)
tree1005dd12491d02cf643743186a52435b3aad76eb /lib/private/Profile
parent834c9a209ebef7b8d5795b53a018577fe4e534ca (diff)
downloadnextcloud-server-3a265cee302e390da0f42f953040b22f667d109d.tar.gz
nextcloud-server-3a265cee302e390da0f42f953040b22f667d109d.zip
fix(3rdparty): Don't use indirect dependency "Safe/" for functions
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Profile')
-rw-r--r--lib/private/Profile/Actions/FediverseAction.php2
-rw-r--r--lib/private/Profile/Actions/TwitterAction.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Profile/Actions/FediverseAction.php b/lib/private/Profile/Actions/FediverseAction.php
index 30682ba6b2a..f96d2c07de4 100644
--- a/lib/private/Profile/Actions/FediverseAction.php
+++ b/lib/private/Profile/Actions/FediverseAction.php
@@ -26,7 +26,7 @@ declare(strict_types=1);
namespace OC\Profile\Actions;
-use function Safe\substr;
+use function substr;
use OCP\Accounts\IAccountManager;
use OCP\IURLGenerator;
use OCP\IUser;
diff --git a/lib/private/Profile/Actions/TwitterAction.php b/lib/private/Profile/Actions/TwitterAction.php
index 178bd04c786..d63c2d3ee08 100644
--- a/lib/private/Profile/Actions/TwitterAction.php
+++ b/lib/private/Profile/Actions/TwitterAction.php
@@ -26,7 +26,7 @@ declare(strict_types=1);
namespace OC\Profile\Actions;
-use function Safe\substr;
+use function substr;
use OCP\Accounts\IAccountManager;
use OCP\IURLGenerator;
use OCP\IUser;