function fetchDatabaseRelease()
 {
     return array('result' => eZPublishSDK::databaseRelease());
 }
 static function databaseVersion( $withRelease = true )
 {
     $db = eZDB::instance();
     $rows = $db->arrayQuery( "SELECT value as version FROM ezsite_data WHERE name='ezpublish-version'" );
     $version = false;
     if ( count( $rows ) > 0 )
     {
         $version = $rows[0]['version'];
         if ( $withRelease )
         {
             $release = eZPublishSDK::databaseRelease();
             $version .= '-' . $release;
         }
     }
     return $version;
 }