<?php

/**
 * Returns a tag list to the blog post forms for auto-completion.
 */

$page->layout = false;

header ('Content-Type: application/json');

echo json_encode (
	DB::shift_array (
		'select distinct tag_id from #prefix#blog_post_tag'
	)
);
