Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F1197449
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
802 B
Subscribers
None
View Options
diff --git a/src/Service/TYPProfileService.php b/src/Service/TYPProfileService.php
--- a/src/Service/TYPProfileService.php
+++ b/src/Service/TYPProfileService.php
@@ -1,23 +1,23 @@
<?php
namespace Drupal\typ_profile\Service;
-use Drupal\typ_legacy\Service\TYP;
+use Drupal\typ_legacy\Service\TYPUtilsService;
use Drupal\typ_legacy\Service\TYPMongoDB;
/**
* Promotion Service
*/
class TYPProfileService
{
public static function getCollection($collection = 'yp_promotion'){
return TYPMongoDB::getCollection($collection);
}
public static function _getpromotion($bid = NULL){
$data = self::getCollection('yp_promotion')->find(array('businessid'=>$bid));
if(count($data) == 1){
return $data;
}else{
#break;
}
}
}
\ No newline at end of file
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Tue, Apr 29, 9:46 PM (1 d, 5 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
213174
Attached To
rPF typ_profile
Event Timeline
Log In to Comment