aboutsummaryrefslogtreecommitdiff
path: root/mod/livestream/actions/delete.php
blob: bd4757f550d0197e6d8073f15af3b657d25b0dd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php 
	require_once "{$CONFIG->pluginspath}livestream/libraries.php";

	// get object guid from URL
	$object_guid = get_input('stream_id');
	$container_name = livestream_get_container_name($object_guid);
	
	if(livestream_delete($object_guid)){
		forward('livestream/'.$container_name);
	}else{
		elgg_echo ("livestream:internal_error");
		
	}
	
?>