core icon indicating copy to clipboard operation
core copied to clipboard

OC\Files\Filesystem::unlockFile()

Open musaa32 opened this issue 10 years ago • 11 comments

Hi, can you add the function unlockFile() to OC\Files\Filesystem? Location:lib/private/files/filesystem.php

static public function unlockFile($path,$type) {
        return self::$defaultInstance->unlockFile($path,$type);
}

Need it for the App: https://apps.owncloud.com/content/show.php/files_filter?content=174667

musaa32 avatar Feb 08 '16 09:02 musaa32

cc @icewind1991

MorrisJobke avatar Feb 08 '16 09:02 MorrisJobke

@musaa32 please use the files view

$view = new \OC\Files\View();
$view->unlockFile($path, $type);

DeepDiver1975 avatar Feb 09 '16 08:02 DeepDiver1975

@DeepDiver1975 thx, I'll try it edit: works with

$view = new \OC\Files\View('{user}/files');

musaa32 avatar Feb 09 '16 10:02 musaa32

could be pacthed my oc 6 and oc 7 installations with this to made able to backported that app to work with oc 7? to work the issue #19798

this app its unuseless due oc 8 takes too many resouces and php 5,.4 works slower rather my 5.3 and my os does not support 5.4 and i not going sustitute all the os only by a app

mckaygerhard avatar Feb 15 '16 01:02 mckaygerhard

@mckaygerhard Please stop spreading your non-sense now also in the core-tracker

ghost avatar Feb 15 '16 06:02 ghost

i'm using OC 7 too, i'll reply in same places

carlospea avatar Feb 17 '16 21:02 carlospea

why closed the replies, why dont accept the users still are in oc 7?

Rankgel avatar Feb 19 '16 17:02 Rankgel

@rankgel Because we as owncloud developers want to move forward. We don't have unlimited resources and need to stop supporting old versions at some point in time. For version 7 this is reached at nearly 2 years of support. We will maintain newer versions of ownCloud and invest time to keep them save for usage.

Feel free to maintain owncloud 7 yourself, but we will stop it, because we also just have 24 h a day and cannot do everything for free for everybody. We develop the current versions and need to cut the support the old versions.

MorrisJobke avatar Feb 19 '16 23:02 MorrisJobke

@carlospea @mckaygerhard We highly encourage you to upgrade to a newer version because owncloud 6 is not supported or maintained anymore eland the same will happen to owncloud 7 in may of this year. To guarantee that your instance is safe from any know security issue you should upgrade to answer version soon. Also the newer versions contain many fixes that will provide you a more performant access to your files and we fixed many issues that make the experience with owncloud a lot better.

MorrisJobke avatar Feb 20 '16 00:02 MorrisJobke

@MorrisJobke You don't need to discuss with that guys. They are also either one single person mckaygerhard (see https://github.com/snes9xgit/snes9x/issues/107) or otherwise related and just bumping issues of each other.

ghost avatar Feb 20 '16 08:02 ghost

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Aug 06 '19 07:08 lock[bot]