undo one of the hooks from last checkin - passing objects led to error

This commit is contained in:
Friendika 2010-12-24 19:04:40 -08:00
parent 10731ea361
commit 3ba322889f
2 changed files with 5 additions and 1 deletions

View file

@ -1,11 +1,14 @@
<?php
require_once('include/items.php');
require_once('include/auth.php');
function dfrn_poll_init(&$a) {
$dfrn_id = ((x($_GET,'dfrn_id')) ? $_GET['dfrn_id'] : '');
$type = ((x($_GET,'type')) ? $_GET['type'] : 'data');
$last_update = ((x($_GET,'last_update')) ? $_GET['last_update'] : '');