Home
The Toolkit for Online Communities
17462 Community Members, 1 member online, 1118 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Development : In 5.3.0 final, unable to drop content type using content_type__drop_type() in pg-8.1.5 : One Message

Forum OpenACS Development: Re: In 5.3.0 final, unable to drop content type using content_type__drop_type() in pg-8.1.5

How about this

ad_proc object_exists {
-id:required
} {
@author Jim Lynch (jim@jam.sessionsnet.org)
@creation-date 2007-01-26

@param id

@return true if object whose id is $id exists
} {
return [db_string test_exists \
"select
1
from
acs_objects
where
object_id = :id" \
-default "0"]

}

that;s much better