summaryrefslogtreecommitdiffstats
path: root/inc/image.inc.php
blob: 2c0ec7461fd5b60e145657ff817d10a6cdae57a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php

class Image
{

	public static function deleteOwnedBy($userid)
	{
		if ($userid === false || !is_numeric($userid))
			return false;
		return Database::exec('DELETE FROM image WHERE ownerid = :userid', array('userid' => $userid));
	}

}