Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

Commit

Permalink
activities_js: remove dead code (out-of-date prototype)
Browse files Browse the repository at this point in the history
This dead code tripped my grep for 'admin'.  I don't try to update it,
I just remove it so it doesn't turn up in grep.

As well as hardcoding  'admin' (should be SITE_AREA),
this wouldn't work without adding ci_csrf_token
(see Bonfire 0.6 changelog).
  • Loading branch information
sourcejedi committed Mar 19, 2013
1 parent 082fad8 commit 8b6353c
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions bonfire/modules/activities/views/reports/activities_js.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,22 +41,6 @@ function submit_delete(event) {
"bLengthChange": false,
"aaSorting": [[3,'desc']],
"bAutoWidth": false,
<?php
/* This is for server side processing
"bServerSide": true,
'sAjaxSource' : '<?php echo base_url(); ?>admin/reports/activities/ajax_activity',
'fnServerData' : function(sSource, aoData, fnCallback)
{
$.ajax({
'dataType': 'json',
'type' : 'POST',
'url' : sSource,
'data' : aoData,
'success' : fnCallback
});
},
*/
?>
"aoColumns": [
{ "sWidth": "10%" },
null,
Expand Down

0 comments on commit 8b6353c

Please sign in to comment.