2011-07-20 21:34:16 +04:00
|
|
|
<?php
|
2011-11-30 02:11:42 +04:00
|
|
|
//$RUNTIME_NOAPPS = true;
|
2011-07-20 21:34:16 +04:00
|
|
|
|
2012-04-17 21:31:29 +04:00
|
|
|
|
2011-10-01 01:05:10 +04:00
|
|
|
OC_JSON::checkAppEnabled('files_sharing');
|
2012-04-28 01:12:11 +04:00
|
|
|
require_once(OC::$APPSROOT . '/apps/files_sharing/lib_share.php');
|
2011-07-20 21:34:16 +04:00
|
|
|
|
2012-05-01 20:50:31 +04:00
|
|
|
$source = "/".OCP\USER::getUser()."/files".$_GET['source'];
|
2011-07-28 23:31:52 +04:00
|
|
|
$uid_shared_with = $_GET['uid_shared_with'];
|
2011-07-31 03:40:19 +04:00
|
|
|
OC_Share::unshare($source, $uid_shared_with);
|
2011-07-20 21:34:16 +04:00
|
|
|
|
2011-10-01 01:05:10 +04:00
|
|
|
?>
|