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