aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_admin.php
diff options
context:
space:
mode:
authorMáté Bartus <mate.bartus@gmail.com>2016-04-06 21:01:41 +0200
committerMarc Alexander <admin@m-a-styles.de>2019-05-06 21:26:55 +0200
commit7a831c3e2844c94feb5fea2a4710816c5024623a (patch)
tree23d6ec523133fb34bbd375411112af10f2fba8db /phpBB/includes/functions_admin.php
parent61bdccbfd804c6638e977d250f6e9a0f30aa5f98 (diff)
downloadforums-7a831c3e2844c94feb5fea2a4710816c5024623a.tar
forums-7a831c3e2844c94feb5fea2a4710816c5024623a.tar.gz
forums-7a831c3e2844c94feb5fea2a4710816c5024623a.tar.bz2
forums-7a831c3e2844c94feb5fea2a4710816c5024623a.tar.xz
forums-7a831c3e2844c94feb5fea2a4710816c5024623a.zip
[ticket/14548] Move deprecated globals and functions
PHPBB3-14584
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r--phpBB/includes/functions_admin.php39
1 files changed, 0 insertions, 39 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php
index c19d48b0be..1f3fe1c8e8 100644
--- a/phpBB/includes/functions_admin.php
+++ b/phpBB/includes/functions_admin.php
@@ -1161,28 +1161,6 @@ function delete_posts($where_type, $where_ids, $auto_sync = true, $posted_sync =
}
/**
-* Delete Attachments
-*
-* @deprecated 3.2.0-a1 (To be removed: 3.4.0)
-*
-* @param string $mode can be: post|message|topic|attach|user
-* @param mixed $ids can be: post_ids, message_ids, topic_ids, attach_ids, user_ids
-* @param bool $resync set this to false if you are deleting posts or topics
-*/
-function delete_attachments($mode, $ids, $resync = true)
-{
- global $phpbb_container;
-
- /** @var \phpbb\attachment\manager $attachment_manager */
- $attachment_manager = $phpbb_container->get('attachment.manager');
- $num_deleted = $attachment_manager->delete($mode, $ids, $resync);
-
- unset($attachment_manager);
-
- return $num_deleted;
-}
-
-/**
* Deletes shadow topics pointing to a specified forum.
*
* @param int $forum_id The forum id
@@ -1294,23 +1272,6 @@ function update_posted_info(&$topic_ids)
}
/**
-* Delete attached file
-*
-* @deprecated 3.2.0-a1 (To be removed: 3.4.0)
-*/
-function phpbb_unlink($filename, $mode = 'file', $entry_removed = false)
-{
- global $phpbb_container;
-
- /** @var \phpbb\attachment\manager $attachment_manager */
- $attachment_manager = $phpbb_container->get('attachment.manager');
- $unlink = $attachment_manager->unlink($filename, $mode, $entry_removed);
- unset($attachment_manager);
-
- return $unlink;
-}
-
-/**
* All-encompasing sync function
*
* Exaples: