<?php
/*======================================================================*\
|| #################################################################### ||
|| # Dieses Script aktualisiert das Userfield für den Link zu der     # ||
|| # Galerie.                                                         # ||
|| # This script update the userfield for the gallery link            # ||
|| # Idea and realisation:                                            # ||
|| # André from http://alfisti.net and http://alfa-forum.com          # ||
|| #################################################################### ||
\*======================================================================*/

error_reporting(E_ALL & ~E_NOTICE);

if (!is_object($DB_site))
{
	exit;
}

log_cron_action('Forumgalerie Links Updated', $nextitem);

$DB_site->query('UPDATE userfield,coppermineprefix_pictures SET userfield.field1 = "Yes" WHERE userfield.userid = coppermineprefix_pictures.owner_id');


?>